Ng-Jalali-Calendar
Jalali calendar for Angular4+ applications
Table of contents
Installation
npm install --save ng-jalali-calendar
Usage
Import NgJalaliCalendarModule
in your module
;
afterward, add the ng-jalali-component
tag into the component where you want to use the calendar :
API
Inputs:
Input | Type | Description |
---|---|---|
selectedDates | String[] | dates that you want to be selected on the calendar |
Events:
Output | $event | Description |
---|---|---|
dateSelected | String | emitted when selecting a date |
the module works with dates in
YYYY/MM/DD
format
Example
;