constructor
[ Function ]
public constructor(controlName: string, selector: string);
Creates a new animation.
Parameter
Name | Type | Description |
---|---|---|
controlName | The name of the control to animate. | |
selector | A CSS selector to select an HTML element within the control to be animated. An empty string selects the root element of the control. |
Sample - JavaScript
var animation = new TcHmi.Animation('ViewDesktopBeckhoffLogo', '');
Available from 1.8 |