/* Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dijit.form.VerticalSlider"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. dojo._hasResource["dijit.form.VerticalSlider"] = true; dojo.provide("dijit.form.VerticalSlider"); dojo.require("dijit.form.HorizontalSlider"); dojo.declare( "dijit.form.VerticalSlider", dijit.form.HorizontalSlider, { // summary: // A form widget that allows one to select a value with a vertically draggable handle templateString: dojo.cache("dijit.form", "templates/VerticalSlider.html", "
+
-
\n"), _mousePixelCoord: "pageY", _pixelCount: "h", _startingPixelCoord: "y", _startingPixelCount: "t", _handleOffsetCoord: "top", _progressPixelSize: "height", // _descending: Boolean // Specifies if the slider values go from high-on-top (true), or low-on-top (false) // TODO: expose this in 1.2 - the css progress/remaining bar classes need to be reversed _descending: true, _isReversed: function(){ // summary: // Overrides HorizontalSlider._isReversed. // Indicates if values are high on top (with low numbers on the bottom). return this._descending; } }); }