ngx-mdc-daterange-picker
v0.0.2
Published
A brief description of what this project does and who it's for
Downloads
1
Readme
ngx-mdc-datepicker
A brief description of what this project does and who it's for
A lightweight library to use angular 15+ datepicker with the labels on side to select date from a given labels like last week, last month, previous year. Inspired from ngx-datepicker.
- No dependency on momentjs
Installation
Install ngx-mdc-datepicker
npm install ngx-mdc-datepicker
import { MatFormFieldModule } from '@angular/forms';
import { NgxMdcDaterangePickerModule } from 'ngx-mdc-daterangepicker';
@NgModule({
imports: [
... ,
MatFormFieldModule,
NgxMdcDaterangePickerModule
]
})
export class AppModule {}
Usage/Examples
<ngx-mdc-daterangepicker [(dateRange)]="dateRange"></ngx-mdc-daterangepicker>
dateRange: {start: Date, end:Date}
License
Contributing
Contributions are always welcome!