Skip to content

WardGubbi/ng2-datetime

 
 

Repository files navigation

ng2-datetime

npm version

Datetime picker (plugins wrapper) for Angular2.

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.

Contributing

Fork > Create > Pull request

Thanks

About

Datetime picker plugins wrapper for Angular2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 43.3%
  • HTML 34.0%
  • JavaScript 22.7%