__attach

[ Function ]

public __attach(): void;

This function is called by the system when the control is inserted in the DOM of the browser.

The control is visible to the operator at this point.

Custom interaction events (click) should be initialized in this code. Functions that only provide a value for visible elements (e.g. .width() of jQuery) to correct appearance must be called in this phase.

__attach 1:

You may not call this function yourself.
However, a control developer must implement this feature within a framework control.

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

void

No return value.

See also

Origin: TcHmiControl

__attach 2:

Available from 1.8