_arg.js 640 B

12345678910111213141516171819202122232425
  1. define("dojox/fx/_arg", ["dojo/_base/lang"],function(lang){
  2. var fxArg = lang.getObject("dojox.fx._arg",true);
  3. fxArg.StyleArgs = function(/*Object*/ args){
  4. // summary:
  5. // The node and CSS class to use for style manipulations.
  6. // node: DOMNode
  7. // The node to manipulate
  8. // cssClass: String
  9. // The class to use during the manipulation
  10. this.node = args.node;
  11. this.cssClass = args.cssClass;
  12. }
  13. fxArg.ShadowResizeArgs = function(/*Object*/ args){
  14. // summary:
  15. // The odd way to document object parameters.
  16. // x: Integer
  17. // the width to set
  18. // y: Integer
  19. // the height to set
  20. this.x = args.x;
  21. this.y = args.y;
  22. }
  23. return fxArg;
  24. });