jmontoyaa fb8a7802fc Update assets | vor 8 Jahren | |
---|---|---|
.. | ||
dist | vor 8 Jahren | |
lib | vor 8 Jahren | |
src | vor 8 Jahren | |
test | vor 8 Jahren | |
.bower.json | vor 8 Jahren | |
.gitignore | vor 8 Jahren | |
.jshintrc | vor 8 Jahren | |
CONTRIBUTING.md | vor 8 Jahren | |
Gruntfile.js | vor 8 Jahren | |
LICENSE-MIT | vor 8 Jahren | |
README.md | vor 8 Jahren | |
bower.json | vor 8 Jahren | |
composer.json | vor 8 Jahren | |
jquery-ui-timepicker-addon.json | vor 8 Jahren | |
package.json | vor 8 Jahren |
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"; ```