insertItem (value: JSON | PP.Ui.TabItem, index: Number, fireEvent: Boolean);
value. Tab, an instance of the PP.Ui.TabItem class, or its view in JSON.
index. Index which determines position number where the tab will be inserted.
fireEvents. It determines whether on method execution the BeforeAddItem and AfterAddItem events are generated. Default value is set to True, that is events are generated.
The insertItem method inserts a tab to the specified position.
The example of method use is given in description of the TabControl.removeItemByIndex method.
See also: