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"; ```