nepali-datepicker-angular
v1.1.0
Published
Angular nepali datepicker library with no dependencies
Downloads
16
Maintainers
Readme
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.