_arg.js 930 B

12345678910111213141516171819202122232425262728293031323334
  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["dojox.fx._arg"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
  7. dojo._hasResource["dojox.fx._arg"] = true;
  8. dojo.provide("dojox.fx._arg");
  9. dojox.fx._arg.StyleArgs = function(/*Object*/ args){
  10. // summary:
  11. // The node and CSS class to use for style manipulations.
  12. // node: DOMNode
  13. // The node to manipulate
  14. // cssClass: String
  15. // The class to use during the manipulation
  16. this.node = args.node;
  17. this.cssClass = args.cssClass;
  18. }
  19. dojox.fx._arg.ShadowResizeArgs = function(/*Object*/ args){
  20. // summary:
  21. // The odd way to document object parameters.
  22. // x: Integer
  23. // the width to set
  24. // y: Integer
  25. // the height to set
  26. this.x = args.x;
  27. this.y = args.y;
  28. }
  29. }