Material datepicker with range support ## What is this?
npm install mat-range-datepickerIssue in material2 repo.
!Material date range picker
Installation: yarn add mat-range-datepicker or npm install mat-range-datepicker
Import MatRangeDatepickerModule, MatRangeNativeDateModule and MatDatepickerModule
``angular2html`
[rangeMode]="true">
Add styles:
* If you are using CSS: copy-paste or include somehow the file mat-range-datepicker/bundle.css`
* If you are using SCSS: scss`
@import '~mat-range-datepicker/theming';
@include mat-range-datepicker-theme($theme); # material theme data structure https://material.angular.io/guide/theming#defining-a-custom-theme
typescript
export interface matRangeDatepickerRangeValue {
begin: D | null;
end: D | null;
}
`Licence: MIT
Publish your own package
`shell
yarn build:lib
(cd dist ; npm pack)
npm publish
``