jmontoyaa e0adf91451 Updating based in bower.json | 8 年 前 | |
---|---|---|
.. | ||
dist | 8 年 前 | |
lib | 8 年 前 | |
src | 8 年 前 | |
test | 8 年 前 | |
.bower.json | 8 年 前 | |
.gitignore | 8 年 前 | |
.jshintrc | 8 年 前 | |
CONTRIBUTING.md | 8 年 前 | |
Gruntfile.js | 8 年 前 | |
LICENSE-MIT | 8 年 前 | |
README.md | 8 年 前 | |
bower.json | 8 年 前 | |
composer.json | 8 年 前 | |
jquery-ui-timepicker-addon.json | 8 年 前 | |
package.json | 8 年 前 |
I recommend getting the eBook Handling Time as it has a lot of example code to get started. The quick and dirty:
dist
directory or from a CDN:
$('#selector').datetimepicker()
or $('#selector').timepicker()
.There is also a Bower package named jqueryui-timepicker-addon
. Beware there are other similar package names that point to forks which may not be current.
If you happen to use Rails with the bower gem, here it is to use it easily :
#### application.js
javascript //= require jqueryui-timepicker-addon/dist/jquery-ui-timepicker-addon //= require jqueryui-timepicker-addon/dist/i18n/jquery-ui-timepicker-fr
#### application.css.scss
scss @import "jqueryui-timepicker-addon/dist/jquery-ui-timepicker-addon.css"; ```