Can somebody give me example of ui:menuTrigger and how it is different from ui:menuTriggerLink? Current document doesn't have any example for ui:menuTrigger. Any help will be appriciated.


There's really no reason to use ui:menuTrigger. You should always use ui:menuTriggerLink instead. Here's an example with explanation for a component that uses ui:menuTriggerLink:



It is not documented but I have used ui:menuTrigger for using button and custom template instead of link.

  <!-- button or custom template -->

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.