Rails Engine providing the jquery timepicker addon
Ruby JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
vendor/assets
.gitignore
Gemfile
Gemfile.lock
MIT-LICENSE
README.rdoc
Rakefile
jquery-timepicker-addon.gemspec

README.rdoc

JqueryTimepickerAddon

Rails Engine providing the jquery-timepicker-addon. See trentrichardson.com/examples/timepicker/ for details.

Usage:

in your js manifest (application.js):

// Jquery timepicker Addon //= require jquery-timepicker-addon

// Some (for now) very simple ujs code to initialize the timepicker (with default options) for every element with class 'datetimeselect' //= require datetimeselect.ujs.js

Todo

  • allow to specify options via data-attributes, and extend accordingly

  • maybe also provide some necessary default styles