Upgrade to ExtJS 4.0.1 - Released 05/18/2011
[extjs.git] / docs / source / Animator.html
index 0bb4c87..9807e50 100644 (file)
@@ -1,4 +1,21 @@
-<!DOCTYPE html><html><head><title>Sencha Documentation Project</title><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../prettify.css" type="text/css"><link rel="stylesheet" href="../prettify_sa.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script></head><body onload="prettyPrint()"><pre class="prettyprint"><pre><span id='Ext-fx.Animator'>/**
+<!DOCTYPE html>
+<html>
+<head>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <title>The source code</title>
+  <link href="../prettify/prettify.css" type="text/css" rel="stylesheet" />
+  <script type="text/javascript" src="../prettify/prettify.js"></script>
+  <style type="text/css">
+    .highlight { display: block; background-color: #ddd; }
+  </style>
+  <script type="text/javascript">
+    function highlight() {
+      document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
+    }
+  </script>
+</head>
+<body onload="prettyPrint(); highlight();">
+  <pre class="prettyprint lang-js"><span id='Ext-fx-Animator'>/**
 </span> * @class Ext.fx.Animator
  * Animation instance
 
@@ -69,13 +86,13 @@ Ext.define('Ext.fx.Animator', {
 
     isAnimator: true,
 
-<span id='Ext-fx.Animator-cfg-duration'>    /**
+<span id='Ext-fx-Animator-cfg-duration'>    /**
 </span>     * @cfg {Number} duration
      * Time in milliseconds for the animation to last. Defaults to 250.
      */
     duration: 250,
 
-<span id='Ext-fx.Animator-cfg-delay'>    /**
+<span id='Ext-fx-Animator-cfg-delay'>    /**
 </span>     * @cfg {Number} delay
      * Time to delay before starting the animation. Defaults to 0.
      */
@@ -84,13 +101,13 @@ Ext.define('Ext.fx.Animator', {
     /* private used to track a delayed starting time */
     delayStart: 0,
 
-<span id='Ext-fx.Animator-cfg-dynamic'>    /**
+<span id='Ext-fx-Animator-cfg-dynamic'>    /**
 </span>     * @cfg {Boolean} dynamic
      * Currently only for Component Animation: Only set a component's outer element size bypassing layouts.  Set to true to do full layouts for every frame of the animation.  Defaults to false.
      */
     dynamic: false,
 
-<span id='Ext-fx.Animator-cfg-easing'>    /**
+<span id='Ext-fx-Animator-cfg-easing'>    /**
 </span>     * @cfg {String} easing
 
 This describes how the intermediate values used during a transition will be calculated. It allows for a transition to change
@@ -115,14 +132,14 @@ as (x1, y1, x2, y2). All values must be in the range [0, 1] or the definition is
      */
     easing: 'ease',
 
-<span id='Ext-fx.Animator-property-running'>    /**
+<span id='Ext-fx-Animator-property-running'>    /**
 </span>     * Flag to determine if the animation has started
      * @property running
      * @type boolean
      */
     running: false,
 
-<span id='Ext-fx.Animator-property-paused'>    /**
+<span id='Ext-fx-Animator-property-paused'>    /**
 </span>     * Flag to determine if the animation is paused. Only set this to true if you need to
      * keep the Anim instance around to be unpaused later; otherwise call {@link #end}.
      * @property paused
@@ -130,43 +147,43 @@ as (x1, y1, x2, y2). All values must be in the range [0, 1] or the definition is
      */
     paused: false,
 
-<span id='Ext-fx.Animator-property-damper'>    /**
+<span id='Ext-fx-Animator-property-damper'>    /**
 </span>     * @private
      */
     damper: 1,
 
-<span id='Ext-fx.Animator-cfg-iterations'>    /**
+<span id='Ext-fx-Animator-cfg-iterations'>    /**
 </span>     * @cfg {Number} iterations
      * Number of times to execute the animation. Defaults to 1.
      */
     iterations: 1,
 
-<span id='Ext-fx.Animator-property-currentIteration'>    /**
+<span id='Ext-fx-Animator-property-currentIteration'>    /**
 </span>     * Current iteration the animation is running.
      * @property currentIteration
      * @type int
      */
     currentIteration: 0,
 
-<span id='Ext-fx.Animator-property-keyframeStep'>    /**
+<span id='Ext-fx-Animator-property-keyframeStep'>    /**
 </span>     * Current keyframe step of the animation.
      * @property keyframeStep
      * @type Number
      */
     keyframeStep: 0,
 
-<span id='Ext-fx.Animator-property-animKeyFramesRE'>    /**
+<span id='Ext-fx-Animator-property-animKeyFramesRE'>    /**
 </span>     * @private
      */
     animKeyFramesRE: /^(from|to|\d+%?)$/,
 
-<span id='Ext-fx.Animator-cfg-target'>    /**
+<span id='Ext-fx-Animator-cfg-target'>    /**
 </span>     * @cfg {Ext.fx.target} target
      * The Ext.fx.target to apply the animation to.  If not specified during initialization, this can be passed to the applyAnimator
      * method to apply the same animation to many targets.
      */
 
-<span id='Ext-fx.Animator-cfg-keyframes'>     /**
+<span id='Ext-fx-Animator-cfg-keyframes'>     /**
 </span>      * @cfg {Object} keyframes
       * Animation keyframes follow the CSS3 Animation configuration pattern. 'from' is always considered '0%' and 'to'
       * is considered '100%'.&lt;b&gt;Every keyframe declaration must have a keyframe rule for 0% and 100%, possibly defined using
@@ -196,20 +213,20 @@ keyframes : {
         me.config = config;
         me.id = Ext.id(null, 'ext-animator-');
         me.addEvents(
-<span id='Ext-fx.Animator-event-beforeanimate'>            /**
+<span id='Ext-fx-Animator-event-beforeanimate'>            /**
 </span>             * @event beforeanimate
              * Fires before the animation starts. A handler can return false to cancel the animation.
              * @param {Ext.fx.Animator} this
              */
             'beforeanimate',
-<span id='Ext-fx.Animator-event-keyframe'>            /**
+<span id='Ext-fx-Animator-event-keyframe'>            /**
 </span>              * @event keyframe
               * Fires at each keyframe.
               * @param {Ext.fx.Animator} this
               * @param {Number} keyframe step number
               */
             'keyframe',
-<span id='Ext-fx.Animator-event-afteranimate'>            /**
+<span id='Ext-fx-Animator-event-afteranimate'>            /**
 </span>             * @event afteranimate
              * Fires when the animation is complete.
              * @param {Ext.fx.Animator} this
@@ -226,14 +243,14 @@ keyframes : {
         }
     },
 
-<span id='Ext-fx.Animator-method-sorter'>    /**
+<span id='Ext-fx-Animator-method-sorter'>    /**
 </span>     * @private
      */
     sorter: function (a, b) {
         return a.pct - b.pct;
     },
 
-<span id='Ext-fx.Animator-method-createTimeline'>    /**
+<span id='Ext-fx-Animator-method-createTimeline'>    /**
 </span>     * @private
      * Takes the given keyframe configuration object and converts it into an ordered array with the passed attributes per keyframe
      * or applying the 'to' configuration to all keyframes.  Also calculates the proper animation duration per keyframe.
@@ -278,7 +295,7 @@ keyframes : {
         }
     },
 
-<span id='Ext-fx.Animator-property-applyAnimator'>    /**
+<span id='Ext-fx-Animator-property-applyAnimator'>    /**
 </span>     * Applies animation to the Ext.fx.target
      * @private
      * @param target
@@ -393,4 +410,6 @@ keyframes : {
         var me = this;
         me.fireEvent('afteranimate', me, me.startTime, new Date() - me.startTime);
     }
-});</pre></pre></body></html>
\ No newline at end of file
+});</pre>
+</body>
+</html>