@angular-persian/material-date-picker

1.8.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

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

Weekly Downloads

25

Version

1.8.1

License

MIT

Unpacked Size

164 kB

Total Files

49

Last publish

Collaborators

  • kordeviant