v4.0.0 super early demo
- 主要语言
- JavaScript
- 星标
- 7.6k
- 派生
- 981
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hello, you lovely people.
Version 4 is on the way! And it’s got all sorts of awesome new stuff in it. Including date ranges and using it without an `input` element :smile:.
Another major upgrade is the picker now uses HTML Elements instead of strings to build out the templates. This results in huge performance boosts and faster rendering/paint times :+1:. This also allows the opportunity to easily customize the picker's template, for example to show two months in a view, etc.
### The demo
The design is definitely not finalized, but you can take a peak here: http://jsbin.com/wanis/3/edit?html,js,output ...and the source code is here: https://github.com/amsul/pickadate.js/tree/4.0.0.
I’d love to hear your thoughts!
[](https://gitter.im/amsul/pickadate.js)
---
The main things remaining are:
- [x] ~~Allow date ranges~~
- [x] ~~Allow multiple dates~~
- [x] ~~Allow multiple date ranges~~
- [ ] Allow disabling/enabling dates
- [ ] Add a method to check if a date is disabled
- [ ] Add keyboard controls
- [ ] Implement jQuery extension as closely to the current API as possible
- [ ] Finalize design
- [ ] Write documentation on new API
...and probably lots more. I’ll add more as I remember them.
贡献指南
评估
这个 Issue 还没有评估数据。