1.0.3 • Published 2 years ago
super-light-persian-date-picker v1.0.3
Angular date picker
angular date picker
dependencies: @angular/cdk/overlay
this repo is a simple date picker for angular2+.
@NgModule({
declarations: [
...
],
imports: [
...
DatePickerModule,
})
export class AppModule { }use like this:
<persian-date-picker [io]="'miladi'" [(ngModel)] ></persian-date-picker>inputs:
| Name | Type | Default | Description | |
|---|---|---|---|---|
| io | 'shamsi' or 'miladi' | 'miladi' | determines what type of input should calender use | |
| placeholder | string | |||
| closeAfterPick | boolean | true | determines if picker should close after selecting a date |
Demo:
https://stackblitz.com/edit/stackblitz-starters-wbehnh?file=src%2Fmain.ts
changelogs:
| version | description |
|---|---|
| 1.0.0 | wheel sensitivity added |
| 1.0.1 | closeAfterPick added |
| 1.0.2 | picker bug fixed |
Donate:
btc: 1Pnm7fWt4LRDjUC6CSfbjLftfYt7QnqJhv
Tether: TKcPUCJFS8BHp1FKF3RJqSqKtdr4JuNSRX