Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rajivnarayana/nativescript-date-range-picker
A {N} plugin that allows you to choose a range of dates.
https://github.com/rajivnarayana/nativescript-date-range-picker
Last synced: about 2 months ago
JSON representation
A {N} plugin that allows you to choose a range of dates.
- Host: GitHub
- URL: https://github.com/rajivnarayana/nativescript-date-range-picker
- Owner: rajivnarayana
- Created: 2016-01-25T20:47:27.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-08T19:56:23.000Z (almost 9 years ago)
- Last Synced: 2023-03-25T21:13:09.246Z (almost 2 years ago)
- Language: TypeScript
- Size: 1.39 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# NativeScript Date range picker plugin
An iOS plugin for choosing a date range from a calendar. This is built on top of native ios library by [PeteC](https://github.com/PeteC/DSLCalendarView).
## Installation
Run the following command from the root of your project:
```
$ tns plugin add nativescript-date-range-picker
```This command automatically installs the necessary files, as well as stores nativescript-date-range-picker as a dependency in your project's `package.json` file.
## Examples
The code below creates a date range picker in xml with text color for all the date labes as #AA0000 (~red) and selection color as #0000AA (~blue).
```xml
```
The following code listen to drag events```javascript
exports.onUserDraggedTo = function(eventData) {
console.log(eventData.dayView);
}
```## Screen Shots