Namespace: PP.Ui;
Animation
The Animation class implements animation of objects' properties and styles.
PP.initClass(PP.Ui.Animation, PP.Object, "PP.Ui.Animation");
Constructor name | Brief description | |
Animation | The Animation constructor creates an instance of the Animation class. |
Property name | Brief description | |
Context | The Context property sets and returns the object, which property will change during animation. | |
Duration | The Duration property sets and returns animation duration in milliseconds. | |
End | The End property sets and returns index of the last animation step. | |
PropertyName | The PropertyName property sets and returns name of the property to be animated. | |
Start | The Start property sets and returns index of the first animation step. |
Method name | Brief description | |
animate | The animate method starts playing animation with the current parameters. | |
animateCSS | The animateCSS method plays animation of object CSS property. | |
animateDomNodeProp | The animateDomNodeProp method plays DOM element property animation with the current parameters. | |
animateProp | The animateProp method plays object property animation. | |
animateSVGAttr | The animateSVGAttr method plays animation of SVG element attribute with the current parameters. | |
getNow | The getNow method returns current animation step value. | |
getStartTime | The getStartTime method returns time of animation start. | |
isExecute | The isExecute method determines whether animation is currently playing. | |
run | The run method starts animation. | |
step | The step method returns animation step value after the specified timeout. | |
stop | The stop method stops animation. | |
stopToEnd | The stopToEnd method stops animation and takes it to the end. | |
stopToStart | The stopToStart method stops animation and returns it to the first step. |
Property name | Brief description | |
The Id property determines a repository object identifier. |
Method name | Brief description | |
clone | The clone method creates an object copy. | |
dispose | The dispose method deletes the component. | |
getHashCode | The getHashCode method returns hash code of repository object. | |
getSettings | The getSettings method returns repository object settings. | |
getTypeName | The getTypeName method returns the name of the object type without the namespace, to which it belongs. | |
isEqual | The isEqual method determines whether the specified object is equal to the current repository object. | |
isLive | The isLive method determines validity of repository object. | |
removeAllEvents | The removeAllEvents method removes all object event handlers by the specified context. | |
setSettings | The setSettings method determines repository object settings. | |
defineProps | The defineProps method creates get and set methods from name array for the specified class. | |
keys | The keys method returns array of methods and properties names for the specified object. |
Seebsp;also: