clearKeyframes
[ Function ]
public clearKeyframes(): this;Deletes all keyframes of this animation.
Parameter
Name | Type | Description |
|---|---|---|
- | - | - |
Return value
Type | Description |
|---|---|
This method returns its parent object to allow concatenation of method calls. |
Sample - JavaScript
var animation = new TcHmi.Animation('ViewDesktopBeckhoffLogo', '');
animation.addKeyframe('top', '20px', 0);
animation.clearKeyframes();
var keyframes = animation.keyframes(); // empty array![]() | Available from 1.8 |
