~launchpad-pqm/lazr-js/toolchain

« back to all changes in this revision

Viewing changes to src-js/lazrjs/yui/slider/range-slider.js

  • Committer: Sidnei da Silva
  • Date: 2009-11-16 00:51:29 UTC
  • mto: This revision was merged to the branch mainline in revision 154.
  • Revision ID: sidnei.da.silva@canonical.com-20091116005129-8ibwjlboa38glaw5
- Improved generation of skin modules and revamped combo service to make it more twisty.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
3
 
Code licensed under the BSD License:
4
 
http://developer.yahoo.com/yui/license.html
5
 
version: 3.2.0
6
 
build: 2676
7
 
*/
8
 
YUI.add('range-slider', function(Y) {
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
 
 * @submodule range-slider
16
 
 */
17
 
 
18
 
/**
19
 
 * Create a slider to represent an integer value between a given minimum and
20
 
 * maximum.  Sliders may be aligned vertically or horizontally, based on the
21
 
 * <code>axis</code> configuration.
22
 
 *
23
 
 * @class Slider
24
 
 * @constructor
25
 
 * @extends SliderBase
26
 
 * @uses SliderValueRange
27
 
 * @uses ClickableRail
28
 
 * @param config {Object} Configuration object
29
 
 */
30
 
Y.Slider = Y.Base.build( 'slider', Y.SliderBase,
31
 
    [ Y.SliderValueRange, Y.ClickableRail ] );
32
 
 
33
 
 
34
 
}, '3.2.0' ,{requires:['slider-base', 'clickable-rail', 'slider-value-range']});