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.

NameDescriptionTypeDefaultRequired
deselectSiblingsDeselects the siblings of the currently selected menu item.boolean
focusTriggerSets focus to menuTrigger.boolean
hideMenuHides menu if set to true.boolean
selectedItemThe menu item that's selected.component[]