0.2.7 • Published 7 years ago
ngk-date-picker v0.2.7
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
- Angular (tested with 6.0.0)
- Typescript
Instalation
After installing the above dependencies, install ngk-date-picker via:
npm install --save ngk-date-pickerOnce 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
| Name | Type | Default | Description |
|---|---|---|---|
dateFormat | string | YYYY-MM-DD | change date format |
(change) | event | handles emitted change |
Run Included Demo
- Clone this repository
git clone https://github.com/kvirrik/ng-date-picker.git- Install packages
npm install- Run Demo
npm startLicence
MIT
0.2.7
7 years ago
0.2.6
7 years ago
0.2.5
7 years ago
0.2.4
7 years ago
0.2.3
7 years ago
0.2.2
7 years ago
0.2.1
7 years ago
0.2.0
7 years ago
0.1.1
8 years ago
0.1.0
8 years ago
0.0.9
8 years ago
0.0.8
8 years ago
0.0.7
8 years ago
0.0.6
8 years ago
0.0.5
8 years ago
0.0.4
8 years ago
0.0.3
8 years ago
0.0.2
8 years ago
0.0.1
8 years ago
0.0.0
8 years ago