controlName
[ Function ]
public controlName(): string;Returns the name of the control for which this animation was created.
Parameter
Name | Type | Description |
|---|---|---|
- | - | - |
Return value
Type | Description |
|---|---|
The name of the control for which this animation was created. |
Sample - JavaScript
var animation = new TcHmi.Animation('ViewDesktopBeckhoffLogo', '');
var name = animation.controlName(); // 'ViewDesktopBeckhoffLogo'![]() | Available from 1.8 |
