Last change
on this file since 256 was
256,
checked in by hendrikvanantwerpen, 13 years ago
|
Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).
|
File size:
937 bytes
|
Line | |
---|
1 | define([ |
---|
2 | "dojo/_base/declare", // declare |
---|
3 | "./HorizontalRuleLabels" |
---|
4 | ], function(declare, HorizontalRuleLabels){ |
---|
5 | |
---|
6 | /*===== |
---|
7 | var HorizontalRuleLabels = dijit.form.HorizontalRuleLabels; |
---|
8 | =====*/ |
---|
9 | |
---|
10 | // module: |
---|
11 | // dijit/form/VerticalRuleLabels |
---|
12 | // summary: |
---|
13 | // Labels for the `dijit.form.VerticalSlider` |
---|
14 | |
---|
15 | return declare("dijit.form.VerticalRuleLabels", HorizontalRuleLabels, { |
---|
16 | // summary: |
---|
17 | // Labels for the `dijit.form.VerticalSlider` |
---|
18 | |
---|
19 | templateString: '<div class="dijitRuleContainer dijitRuleContainerV dijitRuleLabelsContainer dijitRuleLabelsContainerV"></div>', |
---|
20 | |
---|
21 | _positionPrefix: '<div class="dijitRuleLabelContainer dijitRuleLabelContainerV" style="top:', |
---|
22 | _labelPrefix: '"><span class="dijitRuleLabel dijitRuleLabelV">', |
---|
23 | |
---|
24 | _calcPosition: function(pos){ |
---|
25 | // Overrides HorizontalRuleLabel._calcPosition() |
---|
26 | return 100-pos; |
---|
27 | }, |
---|
28 | |
---|
29 | // needed to prevent labels from being reversed in RTL mode |
---|
30 | _isHorizontal: false |
---|
31 | }); |
---|
32 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.