public Method

ScriptaculousHelper.draggable_element_js(element_id, options = {})

There's no documentation for this item.

Source Code

# File action_view/helpers/scriptaculous_helper.rb, line 168
def draggable_element_js(element_id, options = {}) #:nodoc:
  %(new Draggable(#{element_id.to_json}, #{options_for_javascript(options)});)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.