Skip to content

lozjackson/ember-time-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c3a9068 · Apr 15, 2018
Apr 15, 2018
Jan 27, 2017
Apr 15, 2018
Apr 15, 2018
Mar 21, 2016
Mar 21, 2016
Sep 1, 2016
Mar 21, 2016
Apr 15, 2018
Apr 15, 2018
Apr 15, 2018
Apr 15, 2018
Mar 21, 2016
Apr 15, 2018
Aug 12, 2016
Apr 15, 2018
Jan 26, 2017
Apr 15, 2018
Apr 15, 2018
Apr 15, 2018
Apr 15, 2018
Apr 15, 2018
Apr 15, 2018
Jun 20, 2016

Repository files navigation

Ember-time-tools

This Ember-cli addon provides date and time related tools for Ember applications. The primary components consist of a date-picker, time-picker and a calendar.

Demo

http://lozjackson.github.io/ember-time-tools/

Installation

  • ember install ember-time-tools

Use

DatePicker

Create a DatePickerComponent using the following example:

{{date-picker selectedDate=selectedDate select=(action "select")}}

You can use the InputDateComponent to create a html input element and a DatePickerComponent in one.

{{input-date value=date}}

TimePicker

Create a TimePickerComponent using the following example:

{{time-picker selectedTime=selectedTime select=(action "select")}}

You can use the InputTimeComponent to create a html input element and a TimePickerComponent in one.

{{input-time value=time}}

Calendar

You can create a CalendarMonthComponent using the following example:

{{calendar-month events=model}}

Compatibility

Ember version ^2.0 is required for this addon to function correctly. Ember v1.x is not supported.