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

16.2.2 • Public • Published

ngx-datetime-16

This library is a continuation of the ng2-datetime library by nkalinov, now updated to support Angular v16.

Dependencies

Installation

npm install --save ngx-datetime-16

Usage

  1. Import the required dependencies in the following order:

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

    See this example for details.

  2. import { NgxDatetimeModule } from 'ngx-datetime-16';

  3. Add it to your app module's imports property

@NgModule({
...
imports: [NgxDatetimeModule, ...],
...
})
  1. Use it in your templates: <datetime [(ngModel)]="date"></datetime>

Acknowledgements

Package Sidebar

Install

npm i ngx-datetime-16

Weekly Downloads

2

Version

16.2.2

License

MIT

Unpacked Size

77.6 kB

Total Files

14

Last publish

Collaborators

  • hristo2612