controlName
[ Funktion ]
public controlName(): string;Gibt den Namen des Controls zurück, für das diese Animation erstellt wurde.
Parameter
Name | Typ | Beschreibung |
|---|---|---|
- | - | - |
Rückgabewert
Typ | Beschreibung |
|---|---|
Der Name des Controls für das diese Animation erstellt wurde. |
Beispiel – JavaScript
var animation = new TcHmi.Animation('ViewDesktopBeckhoffLogo', '');
var name = animation.controlName(); // 'ViewDesktopBeckhoffLogo'![]() | Verfügbar ab Version 1.8 |
