ngx-datetime
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

ngx-datetime

npm version

Angular 5 compatible (by https://github.com/robisim74/angular-library-starter) fork of https://github.com/nkalinov/ng2-datetime datetime picker (plugins wrapper)

NPM PACKAGE: https://www.npmjs.com/package/ngx-datetime
DEMO: https://nkalinov.github.io/ng2-datetime

Dependencies

Installation

npm install --save ngx-datetime

Usage

  1. import some way or another the required dependencies
  2. import {NKDatetime} from 'ngx-datetime/ngx-datetime';
  3. Add to your component's directives property
@Component({
    ...
    directives: [NKDatetime],
    ...
})
  1. Use it: <datetime [(ngModel)]="date"></datetime>

See the DEMO and it source for more information.

Contributing

Fork > Create > Pull request

Thanks

TODO:

  • test ControlValueAccessor

Package Sidebar

Install

npm i ngx-datetime

Weekly Downloads

11

Version

1.0.2

License

MIT

Unpacked Size

141 kB

Total Files

18

Last publish

Collaborators

  • dmaciaszek