ngx-persian-datepicker
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • 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 ngx-persian-datepicker

Add Module

import {MatDatepickerModulePersian} from 'ngx-persian-datepicker';

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>

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i ngx-persian-datepicker

    Weekly Downloads

    3

    Version

    0.1.3

    License

    none

    Unpacked Size

    1.97 MB

    Total Files

    65

    Last publish

    Collaborators

    • ebrahimth