Pickers
There are three picker files:
-
picker.jsThe core file (required before any other picker) -
picker.date.jsThe date picker -
picker.time.jsThe time picker
To support old browsers, namely IE8, also include the legacy.js file.
Themes
All themes are generated using LESS and compiled from the lib/themes-source folder into the lib/themes folder.
There are two themes:
-
default.cssThe default modal-style theme -
classic.cssThe classic dropdown-style theme
Based on the theme, pick the relevant picker styles:
-
default.date.cssanddefault.time.csswhen using the default theme -
classic.date.cssandclassic.time.csswhen using the classic theme
** For languages with text flowing from right-to-left, also include the rtl.css stylesheet.
Translations
The translations live in the lib/translations folder. There are currently 43 language translations included.
项目地址:https://github.com/amsul/pickadate.js
官网:http://amsul.ca/pickadate.js/