insertItem (item: Object, index: Number || PP.Ui.NavigationItem);
item. The element, which will be inserted into the specified position.
index. Position or element of the panel, where a new element is inserted.
The insertItem method adds an item to the side panel by index or item.
The example of method use is given in description of the NavigationItem.showScrolls method.
See also: