insertItem (value, index)
value. Menu item: text, HTML layout, DOM node or a descendant of PP.Ui.MenuItem or PP.Ui.ActiveMenuItem
index. Index of the inserted item.
The insertItem method inserts a menu item to the specified position.
The example of method use is given in description of the ActiveMenuItem constructor.
See also: