Status
[ Enumeration ]
export enum Status {
CONFIGURE,
INITIALIZED,
RUNNING,
PAUSED,
ENDED
}
Defines the states an animation can assume. It is not allowed to configure an animation that does not have the state CONFIGURE
or ENDED
.
The names of the enumeration exist at runtime. For example, you can use TcHmi.Animation.Status.CONFIGURE
directly in a comparison.
Values
Name | Value | Description |
---|---|---|
CONFIGURE |
| The initial status of an animation. This status means that the animation has never been played or reset after it has been played. |
INITIALIZED |
| An animation has this status when run() was called, but no effects actually work yet because the CSS has not yet been parsed or a delay is set. |
RUNNING |
| A currently running animation. |
PAUSED |
| The animation was paused. |
ENDED |
| The animation has finished or was skipped with skip(). |
Available from 1.8 |