NavigationBar.insertItem

Syntax

insertItem (item: Object, index: Number || PP.Ui.NavigationItem);

Parameters

item. The element, which will be inserted into the specified position.

index. Position or element of the panel, where a new element is inserted.

Description

The insertItem method adds an item to the side panel by index or item.

Example

The example of method use is given in description of the NavigationItem.showScrolls method.

See also:

NavigationBar