0.2.7 • Published 6 years ago

ngk-date-picker v0.2.7

Weekly downloads
32
License
-
Repository
-
Last release
6 years ago

Angular Date-Picker : ngk-date-picker

Angular 2+ based datepicker package

Demo

View datepicker demo in action at https://kvirrik.github.io/ng-date-picker/

Dependencies

Instalation

After installing the above dependencies, install ngk-date-picker via:

npm install --save ngk-date-picker

Once installed you need to import our main module:

import { DatePickerModule } from 'ngk-date-picker';

The only remaining part is to list the imported module in your application module.

import { DatePickerModule } from 'ngk-date-picker';

@NgModule({
  declarations: [AppComponent, ...],
  imports: [DatePickerModule, ...],  
  bootstrap: [AppComponent]
})
export class AppModule {
}

Example

Template-Driven Forms

  <ngk-date-picker [(ngModel)]="date"></ngk-date-picker>

Reactive Forms

  <ngk-date-picker formControlName="date"></ngk-date-picker>

Additional Attributes

NameTypeDefaultDescription
dateFormatstringYYYY-MM-DDchange date format
(change)eventhandles emitted change

Run Included Demo

  1. Clone this repository
git clone https://github.com/kvirrik/ng-date-picker.git
  1. Install packages
npm install
  1. Run Demo
npm start

Licence

MIT

0.2.7

6 years ago

0.2.6

6 years ago

0.2.5

6 years ago

0.2.4

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.0.0

6 years ago