VerticalRule.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. Copyright (c) 2004-2012, The Dojo Foundation All Rights Reserved.
  3. Available via Academic Free License >= 2.1 OR the modified BSD license.
  4. see: http://dojotoolkit.org/license for details
  5. */
  6. if(!dojo._hasResource["dijit.form.VerticalRule"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
  7. dojo._hasResource["dijit.form.VerticalRule"] = true;
  8. dojo.provide("dijit.form.VerticalRule");
  9. dojo.require("dijit.form.HorizontalRule");
  10. dojo.declare("dijit.form.VerticalRule", dijit.form.HorizontalRule,
  11. {
  12. // summary:
  13. // Hash marks for the `dijit.form.VerticalSlider`
  14. templateString: '<div class="dijitRuleContainer dijitRuleContainerV"></div>',
  15. _positionPrefix: '<div class="dijitRuleMark dijitRuleMarkV" style="top:',
  16. /*=====
  17. // container: String
  18. // This is either "leftDecoration" or "rightDecoration",
  19. // to indicate whether this rule goes to the left or to the right of the slider.
  20. // Note that on RTL system, "leftDecoration" would actually go to the right, and vice-versa.
  21. container: "",
  22. =====*/
  23. // Overrides HorizontalRule._isHorizontal
  24. _isHorizontal: false
  25. });
  26. }