Menu Trigger Press (Deprecated)

ui:menuTriggerPress

Deprecated as of API version 47.0. Use lightning:buttonMenu instead.

This event is fired when you click on the ui:menuTriggerLink component. To set a handler for the ui:menuTriggerLink event, use the menuTriggerPress attribute on ui:menuTriggerLink.

The following example shows a menu with two list items. The handleTriggerPress client-side controller action handles the ui:menuTriggerPress event.

This client-side controller retrieves the label of the trigger when it’s clicked.

If you're using this event with a component other than ui:menuTriggerLink, register the event first.

No specifications to show