Sha256: 01fd9b1847e6b083ed20478bc7ee1bd0b63f308728481e49bf95cb5e0c611e21

Contents?: true

Size: 831 Bytes

Versions: 8

Compression:

Stored size: 831 Bytes

Contents

define("dijit/form/VerticalRuleLabels", [
	"dojo/_base/declare", // declare
	"./HorizontalRuleLabels"
], function(declare, HorizontalRuleLabels){

	// module:
	//		dijit/form/VerticalRuleLabels

	return declare("dijit.form.VerticalRuleLabels", HorizontalRuleLabels, {
		// summary:
		//		Labels for the `dijit/form/VerticalSlider`

		templateString: '<div class="dijitRuleContainer dijitRuleContainerV dijitRuleLabelsContainer dijitRuleLabelsContainerV"></div>',

		_positionPrefix: '<div class="dijitRuleLabelContainer dijitRuleLabelContainerV" style="top:',
		_labelPrefix: '"><span class="dijitRuleLabel dijitRuleLabelV">',

		_calcPosition: function(pos){
			// Overrides HorizontalRuleLabel._calcPosition()
			return 100-pos;
		},

		// needed to prevent labels from being reversed in RTL mode
		_isHorizontal: false
	});
});

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
dojo_rails-0.0.2 vendor/assets/javascripts/dijit/form/VerticalRuleLabels.js.uncompressed.js
dojo_rails-0.0.1 vendor/assets/javascripts/dijit/form/VerticalRuleLabels.js.uncompressed.js
dijit-rails-0.11.0 vendor/assets/javascripts/dijit/form/VerticalRuleLabels.js.uncompressed.js
dijit-rails-0.10.4 vendor/assets/javascripts/dijit/form/VerticalRuleLabels.js.uncompressed.js
dijit-rails-0.10.3 vendor/assets/javascripts/dijit/form/VerticalRuleLabels.js.uncompressed.js
dijit-rails-0.10.2 vendor/assets/javascripts/dijit/form/VerticalRuleLabels.js.uncompressed.js
dijit-rails-0.10.1 vendor/assets/javascripts/dijit/form/VerticalRuleLabels.js.uncompressed.js
dijit-rails-0.10.0 vendor/assets/javascripts/dijit/form/VerticalRuleLabels.js.uncompressed.js