Skip to content

zaxaco/mat-datepciker-module-persian

 
 

Repository files navigation

Persian Jalali DatePicker for Angular Material

TypeScript ForTheBadge built-with-love

Angular persian datepicker with awesome features!

Demo Website

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

About

Persian Jalali datepicker for Angular Material - dependent on (material, cdk, moment-jalaali)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 56.8%
  • CSS 36.1%
  • HTML 5.9%
  • JavaScript 1.2%