ember-cli-time-input
Ember addon for time edit on date or array of dates in Ember.
Compatibility
- Ember.js v4.8 or above
- Ember CLI v4.8 or above
- Node.js v18 or above
After version 0.2.0 set your action to onChangedTime.
Installation
ember install ember-cli-time-input
Usage
The time-input component use moment "HH:mm" format. (Not yet configurable)
onChangedTime is called when the time has been updated. If an array of dates are submitted the array will update the time on the current date assigned.
The update will occur on the onblur event.
Usage with only one date:
For versions before 0.2.0:
Usage with array of dates:
Usage
Installation
-
git clone
this repository npm install
Running
ember serve
- Visit your app at http://localhost:4200.
Running Tests
-
npm test
(Runsember try:each
to test your addon against multiple Ember versions) ember test
ember test --server
Linting
npm run lint:hbs
npm run lint:js
npm run lint:js -- --fix
Building
ember build
For more information on using ember-cli, visit https://ember-cli.com/.
Contributing
See the Contributing guide for details.
License
This project is licensed under the MIT License.