method
draggable_element_js
draggable_element_js(element_id, options = {})
public
Hide source
# File actionpack/lib/action_view/helpers/scriptaculous_helper.rb, line 162 def draggable_element_js(element_id, options = {}) #:nodoc: %(new Draggable(#{ActiveSupport::JSON.encode(element_id)}, #{options_for_javascript(options)});) end