VerticalRule.js 964 B

12345678910111213141516171819202122232425262728293031323334
  1. define("dijit/form/VerticalRule", [
  2. "dojo/_base/declare", // declare
  3. "./HorizontalRule"
  4. ], function(declare, HorizontalRule){
  5. /*=====
  6. var HorizontalRule = dijit.form.HorizontalRule;
  7. =====*/
  8. // module:
  9. // dijit/form/VerticalRule
  10. // summary:
  11. // Hash marks for the `dijit.form.VerticalSlider`
  12. return declare("dijit.form.VerticalRule", HorizontalRule, {
  13. // summary:
  14. // Hash marks for the `dijit.form.VerticalSlider`
  15. templateString: '<div class="dijitRuleContainer dijitRuleContainerV"></div>',
  16. _positionPrefix: '<div class="dijitRuleMark dijitRuleMarkV" style="top:',
  17. /*=====
  18. // container: String
  19. // This is either "leftDecoration" or "rightDecoration",
  20. // to indicate whether this rule goes to the left or to the right of the slider.
  21. // Note that on RTL system, "leftDecoration" would actually go to the right, and vice-versa.
  22. container: "",
  23. =====*/
  24. // Overrides HorizontalRule._isHorizontal
  25. _isHorizontal: false
  26. });
  27. });