MenuButton: PP.Ui.ToolBarButton
The MenuButton property returns the drop-down menu button of the Breadcrumb component item.
To execute the example, create the Breadcrumb component with a collection of children. Add a handler of the Click event for the button of the first element in the collection:
item = bread.getItems().getItem(0);
item._MenuButton.Click.add(function (sender, args) {
if (item.getIsFilterOn() == true)
{
item._FilterButton.dispose();
item.getBreadcrumb().setWidth(200)
}
});
After executing the example, clicking the button removes the button, if it was pressed, and changes the width of the Breadcrumb component.
See also: