removeItem(item: PP.Ui.Control, isDispose: Boolean);
index. Child item of the tool bar that must be removed.
isDispose. Determines if the element must be fully deleted.
The removeItem method removes the child item of the tool bar.
To execute the example, the HTML page must include the ToolBar component named toolBar which houses the button named imgbtn (see Example of Creating the ToolBar Component). Remove the button:
ToolBar.removeItem (imgbtn);
See also: