public Method

GeneratorMethods.draggable(id, options = {})

Creates a script.aculo.us draggable element. See ActionView::Helpers::ScriptaculousHelper for more information.

Source Code

# File action_view/helpers/prototype_helper.rb, line 925
def draggable(id, options = {})
  record @context.send(:draggable_element_js, id, 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.