fillMode
[ Function ]
public fillMode(): 'none' | 'forwards' | 'backwards' | 'both';
Returns whether the first keyframe should be effective before the start of the animation and/or the last keyframe after the end of the animation. The default is 'none'
.
Parameter
Name | Type | Description |
---|---|---|
- | - | - |
Return value
Type | Description |
---|---|
The fill mode of the animation. |
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 |