Class: Slider.Elements {#Slider.Elements}
Sets the style of a group of elements onChange of the slider. (i.e. iPhoto thumbnail resize)
Extends:
Slider
Slider.Elements Method: constructor {#Slider.Elements:constructor}
Syntax:
var mySlider.Elements = new Slider.Elements(element, knob, elements, options);
Arguments:
- element - (element) The slider element containing the knob
- knob - (element) The knob
- elements - (elements) CSS selector or array of elements to receive the change effect
- options - (obj) The Slider options plus the following:
Options:
- property - (string: defaults to
height) The CSS property to change
- unit - (string: defaults to
px) The CSS units of the property
Events:
All of the Slider Events
Note:
Defining your own onChange event will break this. Consider using onTick instead.