Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chemzqm/rangepicker
Date range picker ui component built on chemzqm/calendar
https://github.com/chemzqm/rangepicker
Last synced: about 1 month ago
JSON representation
Date range picker ui component built on chemzqm/calendar
- Host: GitHub
- URL: https://github.com/chemzqm/rangepicker
- Owner: chemzqm
- Created: 2013-06-27T07:28:16.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-08-15T13:07:00.000Z (over 11 years ago)
- Last Synced: 2024-10-29T10:44:52.370Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 184 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- Changelog: History.md
Awesome Lists containing this project
README
# Rangepicker
Example date picker ui component built on component/calendar.
Not yet feature-rich, just a blog post example.
![screen shot 2013-06-17 at 13 31 47](http://i.imgur.com/p6cbnY9.png)
## API
### rangepicker(el)
Initialize the rangepicker with HTMLinputelement el
### .getValue()
Get the object containing start and end date like `{start: "2012-1-1", end: "2013-1-1"}`
### .setValue(str)
Set the the input value to `str`
### EVENT: change
Emit the result value when the value changes
## Installation
$ component install chemzqm/rangepicker
## License
MIT