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

0

The initial status of an animation. This status means that the animation has never been played or reset after it has been played.

INITIALIZED

1

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

2

A currently running animation.

PAUSED

3

The animation was paused.

ENDED

4

The animation has finished or was skipped with skip().

Status 1:

Available from 1.8