android-components / mozilla.components.browser.menu.item / BrowserMenuItemToolbar

# BrowserMenuItemToolbar

`class BrowserMenuItemToolbar : BrowserMenuItem` (source)

A toolbar of buttons to show inside the browser menu.

### Types

Button | `class Button` A button to be shown in a toolbar inside the browser menu.

### Constructors

<init> | `BrowserMenuItemToolbar(items: List<Button>)` A toolbar of buttons to show inside the browser menu.

### Properties

visible | `val visible: () -> Boolean` Lambda expression that returns true if this item should be shown in the menu. Returns false if this item should be hidden.

### Functions

bind | `fun bind(menu: BrowserMenu, view: View): Unit` Called by the browser menu to display the data of this item using the passed view.
getLayoutResource | `fun getLayoutResource(): <ERROR CLASS>` Returns the layout resource ID of the layout to be inflated for showing a menu item of this type.