fillMode
[ Function ]
public fillMode(valueNew: 'none' | 'forwards' | 'backwards' | 'both' | null): this;
Specifies whether the first keyframe should be effective before the start of the animation and/or the last keyframe after the end of the animation.
Parameter
Name | Type | Description |
---|---|---|
valueNew | The fill mode of the animation. If null is passed, the default value
|
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 fillModeDefault = animation.fillMode(); // 'none'
animation.fillMode('both');
var fillMode = animation.fillMode(); // 'both'
Available from 1.8 |