ToolBar.removeItem

Syntax

removeItem(item: PP.Ui.Control, isDispose: Boolean);

Parameters

index. Child item of the tool bar that must be removed.

isDispose. Determines if the element must be fully deleted.

Description

The removeItem method removes the child item of the tool bar.

Example

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);

Seebsp;also:

ToolBar