Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/edwardsharp/sched-datepicker

yet another polymer datepicker
https://github.com/edwardsharp/sched-datepicker

datepicker polymer polymer-components polymer-element

Last synced: 20 days ago
JSON representation

yet another polymer datepicker

Awesome Lists containing this project

README

        

```html

```

### yet another datepicker (a prototype for sched.site)

[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/edwardsharp/sched-datepicker)

features:
- today button
- min & max dates
- array of available dates
- multi date picker (select multiple dates)
- date range picker (select two dates: start & end)

note:
- multidate & rangedate can't be used at the same time!
- dateFormat, headingSelectedFormat, & headingNotSelectedFormat properties are moment.js format strings; doc: https://momentjs.com/docs/#/displaying/format/

## API DOC, DEMO, & TEST PAGES

API DOC & DEMO: https://edwardsharp.github.io/sched-datepicker/

DEMO: https://edwardsharp.github.io/sched-datepicker/components/sched-datepicker/demo/index.html

TESTS: https://edwardsharp.github.io/sched-datepicker/components/sched-datepicker/test/sched-datepicker_test.html

## INSTALL

```
bower i edwardsharp/sched-datepicker -S
```

## TESTING

```
$ polymer test
```

...or visit /components/sched-datepicker/test/sched-datepicker_test.html (e.g. http://localhost:8080/components/sched-datepicker/test/sched-datepicker_test.html)

## problems? feature requests?

create a github issue?

## LICENSE

GNU General Public License version 3 (GPL-3.0)