29 lines
758 B
JavaScript
29 lines
758 B
JavaScript
YUI.add('range-slider', function (Y, NAME) {
|
|
|
|
/**
|
|
* Create a sliding value range input visualized as a draggable thumb on a
|
|
* background rail element.
|
|
*
|
|
* @module slider
|
|
* @main slider
|
|
* @submodule range-slider
|
|
*/
|
|
|
|
/**
|
|
* Create a slider to represent an integer value between a given minimum and
|
|
* maximum. Sliders may be aligned vertically or horizontally, based on the
|
|
* <code>axis</code> configuration.
|
|
*
|
|
* @class Slider
|
|
* @constructor
|
|
* @extends SliderBase
|
|
* @uses SliderValueRange
|
|
* @uses ClickableRail
|
|
* @param config {Object} Configuration object
|
|
*/
|
|
Y.Slider = Y.Base.build( 'slider', Y.SliderBase,
|
|
[ Y.SliderValueRange, Y.ClickableRail ] );
|
|
|
|
|
|
}, '3.18.1', {"requires": ["slider-base", "slider-value-range", "clickable-rail"]});
|