onMenuItemSelect()
Handles the
MenuItemSelectevent emitted when a menu item is selected.
onMenuItemSelect(
select:
| string
| ViewBuilderEventHandler<UIButton, ModalMenuOptions.MenuItem>,
): this;
Parameters
- select — The function to call, or the name of an event to emit instead.
Return value
The builder instance for chaining.
Related
class ButtonBuilder static
A builder class for creating UIButton instances.dropdownMenu()
Adds a modal menu that shows when the button is clicked.
