This is an Ember addon that uses the wonderful ember-power-select component for allowing the user to select a time [am / pm] from a picklist.
Ember Time Picker has the same requirements as ember-power-select. Hence, we need to install ember-power-select as well. This is an ember-cli addon so this will install the addon:
ember install ember-pick-time
Following is basic example with selected and disabled proporty.
Following is extended example with two timepickers. This is to handle "From Time" and "To time".
attribute | Type | Description |
---|---|---|
selected | Required | The selected option |
startTime | optional | This will the time from which user want to display time-list |
disabled | boolean |
Default it's false . When truthy the component cannot be interacted |