Changeset 13190

Show
Ignore:
Timestamp:
03/24/08 20:26:48 (8 months ago)
Author:
peller
Message:

Clean up docs. Refs #5962 !strict

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dojo/trunk/_base/fx.js

    r13040 r13190  
    3333        d.declare("dojo._Animation", null, { 
    3434                //      summary 
    35                 //              A generic animation class that fires callbacks into it's handlers 
     35                //              A generic animation class that fires callbacks into its handlers 
    3636                //              object at various states. Nearly all dojo animation functions 
    3737                //              return an instance of this method, usually without calling the 
     
    8181                // 
    8282                // beforeBegin: Event 
    83                 //      Synthetic event fired before a dojo._Animation begins playing (synhcronous) 
     83                //      Synthetic event fired before a dojo._Animation begins playing (synchronous) 
    8484                beforeBegin: null, 
    8585         
     
    409409        } 
    410410 
    411         dojo.animateProperty = function(/*Object*/ args){ 
     411        /*===== 
     412        dojo.declare("dojo.__AnimArgs", [dojo.__FadeArgs], { 
     413                // Properties: Object? 
     414                //      A hash map of style properties to Objects describing the transition, 
     415                //      such as the properties of dojo._Line with an additional 'unit' property 
     416                properties: {} 
     417                 
     418                //TODOC: add event callbacks 
     419        }); 
     420        =====*/ 
     421 
     422        dojo.animateProperty = function(/*dojo.__AnimArgs*/ args){ 
    412423                //      summary:  
    413424                //              Returns an animation that will transition the properties of 
     
    420431                //              style properties, and animates them in parallel over a set 
    421432                //              duration. 
    422                 //       
    423                 //              args.node can be a String or a DOMNode reference 
    424433                //       
    425434                //      example: 
     
    524533                                                        /*Integer?*/            delay){ 
    525534                //      summary: 
    526                 //              a simpler interface to `dojo.animateProperty()`, also returns 
     535                //              A simpler interface to `dojo.animateProperty()`, also returns 
    527536                //              an instance of `dojo._Animation` but begins the animation 
    528                 //              immediately unlike nearly every other Dojo animation API. 
     537                //              immediately, unlike nearly every other Dojo animation API. 
    529538                //      description: 
    530539                //              `dojo.anim` is a simpler (but somewhat less powerful) version 
    531                 //              of `dojo.animateProperty` which defaults many basic properties 
     540                //              of `dojo.animateProperty`.  It uses defaults for many basic properties 
    532541                //              and allows for positional parameters to be used in place of the 
    533542                //              packed "property bag" which is used for other Dojo animation 
     
    540549                //              a DOM node or the id of a node to animate CSS properties on 
    541550                //      duration: 
    542                 //              Optional. The number of milliseconds over which the animation 
     551                //              The number of milliseconds over which the animation 
    543552                //              should run. Defaults to the global animation default duration 
    544553                //              (350ms). 
    545554                //      easing: 
    546                 //              Optional. An easing function over which to calculate 
    547                 //              accelreation and deceleration of the animation through its 
    548                 //              duration. A default easing algorithm is provided, but you may 
     555                //              An easing function over which to calculate acceleration 
     556                //              and deceleration of the animation through its duration. 
     557                //              A default easing algorithm is provided, but you may 
    549558                //              plug in any you wish. A large selection of easing algorithms 
    550559                //              are available in `dojox.fx.easing`. 
    551560                //      onEnd: 
    552                 //              Optional. A function to be called when the animation finishes 
     561                //              A function to be called when the animation finishes 
    553562                //              running. 
    554563                //      delay: 
    555                 //              Optional. The number of milliseconds to delay beginning the 
     564                //              The number of milliseconds to delay beginning the 
    556565                //              animation by. The default is 0. 
    557566                //      example: