equal
deleted
inserted
replaced
|
1 /* |
|
2 YUI 3.10.3 (build 2fb5187) |
|
3 Copyright 2013 Yahoo! Inc. All rights reserved. |
|
4 Licensed under the BSD License. |
|
5 http://yuilibrary.com/license/ |
|
6 */ |
|
7 |
|
8 YUI.add('range-slider', function (Y, NAME) { |
|
9 |
|
10 /** |
|
11 * Create a sliding value range input visualized as a draggable thumb on a |
|
12 * background rail element. |
|
13 * |
|
14 * @module slider |
|
15 * @main slider |
|
16 * @submodule range-slider |
|
17 */ |
|
18 |
|
19 /** |
|
20 * Create a slider to represent an integer value between a given minimum and |
|
21 * maximum. Sliders may be aligned vertically or horizontally, based on the |
|
22 * <code>axis</code> configuration. |
|
23 * |
|
24 * @class Slider |
|
25 * @constructor |
|
26 * @extends SliderBase |
|
27 * @uses SliderValueRange |
|
28 * @uses ClickableRail |
|
29 * @param config {Object} Configuration object |
|
30 */ |
|
31 Y.Slider = Y.Base.build( 'slider', Y.SliderBase, |
|
32 [ Y.SliderValueRange, Y.ClickableRail ] ); |
|
33 |
|
34 |
|
35 }, '3.10.3', {"requires": ["slider-base", "slider-value-range", "clickable-rail"]}); |