Pickers
There are three picker files:
-
picker.js
The core file (required before any other picker) -
picker.date.js
The date picker -
picker.time.js
The 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.css
The default modal-style theme -
classic.css
The classic dropdown-style theme
Based on the theme, pick the relevant picker styles:
-
default.date.css
anddefault.time.css
when using the default theme -
classic.date.css
andclassic.time.css
when 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/