Changeset 11198

Show
Ignore:
Timestamp:
10/29/07 17:56:54 (10 months ago)
Author:
pottedmeat
Message:

Refs #4820. Update to show external-doc style

Location:
dojox/trunk/fx
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • dojox/trunk/fx/style.js

    r11043 r11198  
    1313dojox.fx.addClass = function(/*dojox.fx._arg.StyleArgs*/ args){ 
    1414        // summary: 
    15         //              returns an animation that will animate 
    16         //              the properieds of a node to the properties 
     15        //              creates an animation that will animate 
     16        //              the properties of a node to the properties 
    1717        //              defined in a standard CSS .class definition. 
    1818        //              (calculating the differences itself) 
    19         // 
    20         //              standard _Animation object rules apply.  
    21         // 
    22         // additonal mixins: 
    23         // 
    24         //              args.cssClass: String - class string (to be added onEnd) 
    25         //               
    2619        var node = (args.node = dojo.byId(args.node));  
    2720 
     
    4740        },args)); 
    4841        dojo.connect(_anim,"onEnd",_anim,pushClass);  
    49         return _anim;  
     42        return _anim; // dojo._Animation 
    5043}; 
    5144 
  • dojox/trunk/fx/_arg.js

    r10754 r11198  
    11dojo.provide("dojox.fx._arg"); 
    22 
    3 dojox.fx._arg.StyleArgs = function(/*DOMNode*/ node, /*String*/ cssClass){ 
     3dojox.fx._arg.StyleArgs = function(/*Object*/ args){ 
    44        // summary: 
    55        //              The node and CSS class to use for style manipulations. 
    6         // node: 
     6        // node: DOMNode 
    77        //              The node to manipulate 
    8         // cssClass: 
     8        // cssClass: String 
    99        //              The class to use during the manipulation 
    10         this.node = node; 
    11         this.cssClass = cssClass; 
     10        this.node = args.node; 
     11        this.cssClass = args.cssClass; 
    1212} 
    1313 
    14 dojox.fx._arg.ShadowResizeArgs = function(/* Int */x, /* Int */y){ 
     14dojox.fx._arg.ShadowResizeArgs = function(/*Object*/ args){ 
    1515        // summary:  
    1616        //      The odd way to document object parameters. 
    17         // x: 
     17        // x: Integer 
    1818        //      the width to set 
    19         // y: 
     19        // y: Integer 
    2020        //      the height to set        
    21         this.x = x; 
    22         this.y = y; 
     21        this.x = args.x; 
     22        this.y = args.y; 
    2323}