Skip to content
No description, website, or topics provided.
TypeScript JavaScript Shell HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
demo-angular
demo
images
pub
publish
src
.gitignore
.travis.yml
LICENSE
README.md
tslint.json

README.md

Nativescript ui date range

Date Range plugin for angular support only for Android!

nativesceipt date range

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

You can’t perform that action at this time.