Menu Select (Deprecated)
ui:menuSelect
Deprecated as of API version 47.0. Use lightning:select or lightning:combobox instead.
This event is fired when you select a menu item on the ui:menuList component. To set a handler for the ui:menuSelect event, use the menuSelect attribute on ui:menuList.
The following example shows a menu with two list items. The handleSelect client-side controller action handles the ui:menuSelect event.
When a menu item is clicked, the click event is handled before the ui:menuSelect event.
If you're using this event with a component other than ui:menuList, register the event first.
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
deselectSiblings | Deselects the siblings of the currently selected menu item. | boolean | ||
focusTrigger | Sets focus to menuTrigger. | boolean | ||
hideMenu | Hides menu if set to true. | boolean | ||
selectedItem | The menu item that's selected. | component[] |