Time field input, like Chrome's, with keyboard navigation within sections.
ember install ember-time-field
valueis aTimehour12(default false) whether or not to display in 12 hour format with am/pm field.on-changeaction is triggered with aTimewhenever the input value changes.
Time is simply a POJO with hours and minutes properties and is always 24 hours.
- Clicking on a segment selects that segment (hours/minutes/period)
- Up/down increment/decrement the selected segment
- Left/right moves between segments
- Typing moves along the segments - eg typing "945p" will enter "09:45 pm"
- Tests
- Ensure 12 hour times work correctly
git clonethis repositorynpm install
ember server- Visit your app at http://localhost:4200.
ember testember test --server
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.