2.0.0 • Published 8 years ago

ember-calendar-table v2.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

Ember-calendar-table

npm version Ember Observer Score

This component provides a simple primitive component for iterating over timeslots and days as a table.

Installation

  • ember install ember-calendar-table

Use

By default, the Ember Calendar Table component will make a one week swath of 7 days with working hours (9AM-5PM). It will yield startTime and endTime moment.js objects.

{{#ember-calendar-table as |startTime endTime|}}
  {{moment-format startTime "h:mm"}} - {{moment-format endTime "h:mm"}}
{{/ember-calendar-table}}