source: Dev/trunk/src/client/dijit/form/VerticalSlider.js @ 483

Last change on this file since 483 was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 976 bytes
Line 
1define([
2        "dojo/_base/declare", // declare
3        "./HorizontalSlider",
4        "dojo/text!./templates/VerticalSlider.html"
5], function(declare, HorizontalSlider, template){
6
7        // module:
8        //              dijit/form/VerticalSlider
9
10        return declare("dijit.form.VerticalSlider", HorizontalSlider, {
11                // summary:
12                //              A form widget that allows one to select a value with a vertically draggable handle
13
14                templateString: template,
15                _mousePixelCoord: "pageY",
16                _pixelCount: "h",
17                _startingPixelCoord: "y",
18                _handleOffsetCoord: "top",
19                _progressPixelSize: "height",
20
21                // _descending: Boolean
22                //              Specifies if the slider values go from high-on-top (true), or low-on-top (false)
23                //              TODO: expose this in 1.2 - the css progress/remaining bar classes need to be reversed
24                _descending: true,
25
26                _isReversed: function(){
27                        // summary:
28                        //              Overrides HorizontalSlider._isReversed.
29                        //              Indicates if values are high on top (with low numbers on the bottom).
30                        return this._descending;
31                }
32        });
33});
Note: See TracBrowser for help on using the repository browser.