2013-08-31 15:21:32 +02:00
|
|
|
/*
|
2014-06-09 15:00:14 +08:00
|
|
|
YUI 3.17.2 (build 9c3c78e)
|
2014-02-26 14:38:59 +08:00
|
|
|
Copyright 2014 Yahoo! Inc. All rights reserved.
|
2013-08-31 15:21:32 +02:00
|
|
|
Licensed under the BSD License.
|
|
|
|
http://yuilibrary.com/license/
|
|
|
|
*/
|
|
|
|
|
2012-09-19 21:17:54 +02:00
|
|
|
YUI.add('range-slider', function (Y, NAME) {
|
2010-09-09 09:03:56 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Create a sliding value range input visualized as a draggable thumb on a
|
|
|
|
* background rail element.
|
2013-10-09 12:16:24 +02:00
|
|
|
*
|
2010-09-09 09:03:56 +00:00
|
|
|
* @module slider
|
2011-09-26 21:54:31 +02:00
|
|
|
* @main slider
|
2010-09-09 09:03:56 +00:00
|
|
|
* @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 ] );
|
|
|
|
|
|
|
|
|
2014-06-09 15:00:14 +08:00
|
|
|
}, '3.17.2', {"requires": ["slider-base", "slider-value-range", "clickable-rail"]});
|