2.0.2 • Published 5 years ago
nativescript-ui-date-range v2.0.2
Nativescript ui date range
Date Range plugin for angular support only for Android!
Installation
npm i nativescript-ui-date-range --save
Usage
app.module
import {DateRangeComponent, DateRangeModule} from "nativescript-date-range/angular";
imports: [
....
DateRangeModule
]
home.component.html
<date-range-component>
</date-range-component>
API
@ViewChild('dr', {static: false}) dr: any;
this.dr.showOnlyFutureDates(): void
this.dr.showLastYear(): void
this.dr.selectedDate(): => {startDate, endDate}
License
Apache License Version 2.0, January 2004