Datetime picker plugins wrapper for Angular2+
Datetime picker (plugins wrapper) for Angular.
npm install --save ng2-datetime
import some way or another the required dependencies in the following order:
See this example
import { NKDatetimeModule } from 'ng2-datetime/ng2-datetime';
Add it to your app module's imports
property
@NgModule({
...
imports: [NKDatetimeModule, ...],
...
})
<datetime [(ngModel)]="date"></datetime>
See the DEMO and it source for more info and available options.
Fork > Create > Pull request