Properties Methods Events Config Options Direct Link

Class Ext.Anim

Package:Ext
Defined In:Anim.js
Class:Anim
Extends:Object

Ext.Anim is used to excute animations defined in Ext.anims. The run method can take any of the properties defined below.

Example usage:

Ext.Anim.run(this, 'fade', {
    out: false,
    autoClear: true
});

Animations are disabled on Android and Blackberry by default using the disableAnimations property.



This class is a singleton and cannot be created directly.

Config Options

Config OptionsDefined By
 autoClear : Boolean
True to remove all custom CSS defined in the to config when the animation is over. (Defaults to true).
Anim
 before : Function
Code to execute before starting the animation.
Anim
 delay : Number
Time to delay before starting the animation. (Defaults to 0).
Anim
 direction : String
Valid values are 'left', 'right', 'up', 'down' and null. (Defaults to null).
Anim
 disableAnimations : Boolean
True to disable animations. By default, animations are disabled on Android and Blackberry
Anim
 duration : Number
Time in milliseconds for the animation to last. (Defaults to 250).
Anim
 out : Boolean
True if you want the animation to slide out of the screen. (Defaults to true).
Anim
 scope : Scope
Scope to run the before function in.
Anim

Public Properties

This class has no public properties.

Public Methods

MethodDefined By

Public Events

This class has no public events.