2.2.1 • Published 3 years ago

nepali-patro v2.2.1

Weekly downloads
179
License
-
Repository
-
Last release
3 years ago

NepaliPatro

This is the simple library for developers who wants a Nepali Calendar in there Form.You can Integrate this library with Reactive Form or template Driven Form.For english to Nepali Date You Can use Pipe as {{yourEnglishDate | engNepDate}} For example click to demo

demo https://stackblitz.com/edit/angular-ivy-pdcrzp?file=src/app/calendar/calendar.component.html

Properties

NameTypeDescriptionDefault
headerColorStringChange the color of header#1abc9c
responseTypenumberChange the response Type. 0 is for AD,1 is for BS and 2 Is for BOTH0
displayNepalibooleanChange the display Type.true is for nepali and false is for englishfalse
layoutTypenumberChange the Layout Type.0 display only current nepali date and 1 display both nepali date and english0

Usages

For Reactive Form

<nepali-patro formControlName="yourControlName" [displayNepali]="true"
                [layoutType]="1" [responseType]="1" [headerColor]="'#ffff'"> 
</nepali-patro>

For Template driven Form

<nepali-patro [(ngModel)]="yourModel" [responseType]="1" [headerColor]="'#ffff'"> 
	</nepali-patro>
2.2.1

3 years ago

2.0.0

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.0.1

3 years ago