1.4.0 • Published 7 years ago

ng2-datetime v1.4.0

Weekly downloads
903
License
MIT
Repository
github
Last release
7 years ago

ng2-datetime

npm version

Datetime picker (plugins wrapper) for Angular.

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 in the following order:

    • Bootstrap CSS
    • jQuery
    • bootstrap-timepicker + bootstrap-datepicker

    See this example

  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 to

1.4.0

7 years ago

1.3.2

7 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.2.2

7 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.5

8 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago