An Angular2 component for pickadate.js. See the changelog for more information.
- Demo can be found at https://cschroeter.github.io/ng2-pickadate/
Remind binding components and modules with NgModule (explained in Angular CLI Configuration)
- The input value given by the form is by default a timestamp (analog to the amsul's pickadate). If you provide the property modelFormat with a valid dateformat, the model value is interpreted with that. Min and max Date should be set using the display format.
Themes will be supported later on. For the moment you can use the default css styles provided by pickadate.js:
There is also a nice way to bind the theme from the peer-dependency pickadate.js using sass: