1.2.3 • Published 7 years ago

ng2-datetime-prax v1.2.3

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

ng2-datetime

npm version

Fork of Datetime picker (plugins wrapper) for Angular2. All thanks to Nikola Kalinov

Demo and docs: https://nkalinov.github.io/ng2-datetime

Dependencies

Installation

npm install --save ng2-datetime

Usage

  1. import some way or another the required dependencies
  2. import { NKDatetimeModule } from 'ng2-datetime/ng2-datetime';
  3. Add it to your app module's imports property
@NgModule({
    ...
    imports: [NKDatetimeModule, ...],
    ...
})
  1. Use it: <datetime [(ngModel)]="date"></datetime>

See the DEMO and it source for more info and available options.

Thanks