constructor

[ Function ]

public constructor(controlName: string, selector: string);

Creates a new animation.

Parameter

Name

Type

Description

controlName

string

The name of the control to animate.

selector

string

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', '');
constructor 1:

Available from 1.8