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 | |
![]() |
Data | The Data property associates a random object with this component. |
![]() |
Id | The Id property sets component identifier. |
![]() |
Settings | The Settings property sets the component parameters. |
Method name | Brief description | |
![]() |
clone | The clone method creates a copy of object. It is not implemented in PP.Ui.Control. |
![]() |
dispose | The dispose method deletes the component. |
![]() |
getTypeName | The getTypeName method returns the name of the object type without the namespace, to which it belongs. |
Seebsp;also: