public
Description: JavaScript Application Framework - JS library only
Home | Edit | New

Slider_view

A slider view creates a slider into the page.

Syntax:

<%= slider_view :slider_id, :step => 10, :minimum => 0, :maximum => 100, :bind => { :value => ‘MyApp.ObjectController.property’ } %>

Where:

  • :step :: The interval of which the slider will slide
  • :minimum :: The minimum value of the slider
  • :maximum :: The maximum value of the slider
  • :bind :: Bind the value of the slider to a property of an object controller
Last edited by mauritslamers, Tue Sep 30 04:08:49 -0700 2008
Home | Edit | New
Versions: