PP.Ui.getCtrlById

Syntax

PP.Ui.getCtrlById(id: String);

Parameters

id. Identifier of the main DOM node belonging to control

Description

The getCtrlById method returns the control by identifier of the DOM node belonging to it.

Comments

Returned value is a value, of the Object type. If the DOM node with specified identifier does not exist, the null is returned. If the control is not found, it is also null which is returned.

Example

The example of method use is given in description of the PP.Ui.toImage method.

See also:

PP.Ui