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 摘要。