amsul / amsul/pickadate.js

v4.0.0 super early demo

未关闭
#446 35 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
announcement
主要语言
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!

[![Gitter](https://badges.gitter.im/Join Chat.svg)](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 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。