__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 time.

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 the appearance must be called in this phase.

You must NOT call this function yourself. For example, within a Framework Control a control developer must fill this function.

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

void

No return value.

See also

Origin: TcHmiControl

Note: Available since version 1.8