1.8.1 • Published 3 years ago

@angular-persian/material-date-picker v1.8.1

Weekly downloads
37
License
MIT
Repository
github
Last release
3 years ago

Persian Jalali DatePicker for Angular Material

TypeScript ForTheBadge built-with-love

Angular persian datepicker with awesome features!

Prerequisites

you should have @angular/material, @angular/cdk and moment-jalaali installed to your app

Install

npm i --save @angular-persian/material-date-picker

Add Module

import {MatDatepickerModulePersian} from '@angular-persian/material-date-picker';

Example

<md-datepicker type="wide" #picker (selectedChanged)="setDateReturn($event);"></md-datepicker>
<mat-form-field>
  <input required matInput (mouseup)="dpickerFocus(picker)" [(ngModel)]="today" (focus)="dpickerFocus(picker)" readonly
         [matDatepicker]="picker" placeholder="تاریخ">

</mat-form-field>

Contribute

npm install --save 

development:

yarn install
yarn build:lib
ng serve
1.8.1

3 years ago

1.8.0

3 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago