List.insertBefore

Syntax

insertBefore (newCtrl, refCtrl)

Parameters

newCtrl. Component to add.

refCtrl. The component before which a component is to be inserted.

Description

The insertBefore method inserts an element to the position before the specified element.

Example

The example of property use is given in description of the BreadcrumbItem constructor.

See also:

List