Aurelia custom element for date time picker.
Example is located at: https://klinki.github.io/au-datetime-picker/
- Run
npm install au-datetime-picker
- Add
aurelia.use.plugin(PLATFORM.moduleName('au-datetime-picker'))
to yourmain.ts
file (or other aurelia configuration file) - Use
<au-datetime-picker></au-datetime-picker>
in your code
I created this library because I needed some lightweight date-time picker and almost all available solutions were using momentjs library. Because momentjs is not treeshakeable and is very very bloated, I decided to replace it by date-fns which offers much more modular approach.
MIT License
I would like to thank:
- https://github.com/ghiscoding/Aurelia-Bootstrap-Plugins
- https://github.com/Eonasdan/bootstrap-datetimepicker
for inspiration. Also thanks to:
And of course