method
draggable_element
v1.1.6 -
Show latest stable
- Class:
ActionView::Helpers::ScriptaculousHelper
draggable_element(element_id, options = {})public
Makes the element with the DOM ID specified by element_id draggable.
Example:
<%= draggable_element("my_image", :revert => true)
You can change the behaviour with various options, see http://script.aculo.us for more documentation.