delay
[ Function ]
public delay(): number;
Returns the configured delay after which the animation should start in milliseconds. If no delay has been configured, the default is 0
.
Parameter
Name | Type | Description |
---|---|---|
- | - | - |
Return value
Type | Description |
---|---|
The configured delay of the animation in milliseconds. |
Sample - JavaScript
var animation = new TcHmi.Animation('ViewDesktopBeckhoffLogo', '');
var delayDefault = animation.delay(); // 0
animation.delay(500);
var delay = animation.delay(); // 500
Available from 1.8 |