angular-nepali-datepicker
v0.1.4
Published
Simple Nepali datepicker component for angular applications
Downloads
29
Maintainers
Readme
Angular Nepali Datepicker
Simple Nepali datepicker component for angular application
Installation
npm install angular-nepali-datepicker
Demo
https://sprajwal078.github.io/angular-nepali-datepicker/
Note
This package uses @angular/cdk and nepali-date
Usage
Import the NpDatepickerModule in your app.module.ts
import { NpDatepickerModule } from 'angular-nepali-datepicker';
@NgModule({
declarations: [
AppComponent,
],
imports: [
BrowserModule,
NpDatepickerModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
then use <np-datepicker></np-datepicker>
in your template
<np-datepicker ([ngModel])="date"></np-datepicker>
Format
The supported date format is dd-mm-yyyy
Todo
- Support other date formats
- Create specs