ngx-datetime
Angular 5 compatible (by https://github.com/robisim74/angular-library-starter) fork of https://github.com/nkalinov/ng2-datetime datetime picker (plugins wrapper)
Dependencies
Installation
npm install --save ngx-datetime
Usage
- import some way or another the required dependencies
import {NKDatetime} from 'ngx-datetime/ngx-datetime';
- Add to your component's directives property
@Component({
...
directives: [NKDatetime],
...
})
- Use it:
<datetime [(ngModel)]="date"></datetime>
See the DEMO and it source for more information.
Contributing
Fork > Create > Pull request
Thanks
TODO:
- test ControlValueAccessor