0.2.7 • Published 6 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-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
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 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