delay
[ Function ]
public delay(valueNew: number | null): this;
Sets the delay in milliseconds after which this animation should start.
Parameter
Name | Type | Description |
---|---|---|
valueNew | The time in milliseconds after which the animation should start. If null is passed, the default value of 0 is used. |
Return value
Type | Description |
---|---|
This method returns its parent object to allow concatenation of method calls. |
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 |