ngx-np-datepicker
v2.1.3
Published
A simple Nepali Date Picker(Bikram Sambat) library in angular.
Downloads
9
Maintainers
Readme
Angular Nepali Datepicker
A configurable Nepali Date Picker(Bikram Sambat) built for angular appilcations. Supports latest (Angular 13) version.
Demo
Click here to check demo.
Installation
npm install ngx-np-datepicker
Usage
Import the NepaliDatepickerModule
in your app.module.ts
import { NepaliDatepickerModule } from 'angular-nepali-datepicker';
@NgModule({
declarations: [
AppComponent,
],
imports: [
BrowserModule,
NepaliDatepickerModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
then use <np-datepicker [(ngModel)]="nepaliDate"></np-datepicker>
in your template
<np-datepicker></np-datepicker>
Note
This package has no dependancy.
Format
The supported date format is dd-mm-yyyy
License
MIT License