1.0.1 • Published 8 months ago
nepali-datepicker-angular v1.0.1
NepaliDatepickerAngular
Angular library with no dependency.
Datepicker with both AD and BS feature.
See Demo and Documentation for more information.
installation
npm i nepali-datepicker-angular
version support
angular version 12 or above.
usages
On app.module.ts
import { NepaliDatepickerModule } from 'nepali-datepicker-angular';
@NgModule({
declarations: [...],
imports: [..., NepaliDatepickerModule, ...],
providers: [...],
bootstrap: [...],
})
on component to use
<ne-datepicker [date]="date" dateIn="AD" (dateInBS)="updateNepaliDate($event)" (dateInAD)="updateEnglishDate($event)"> </ne-datepicker>
Link to NPM package.