Quantcast
Channel: How to pass additional data to lightning-button-menu onselect handler? - Salesforce Stack Exchange
Browsing all 2 articles
Browse latest View live

Answer by RubenDG for How to pass additional data to lightning-button-menu...

You could leverage data-* attribute: define an HTML attribute whose name must start with data- and can contain only letters, numbers, dashes, periods, colons, and underscores, i.e. data-id={item.id}.In...

View Article



How to pass additional data to lightning-button-menu onselect handler?

Is there any way to pass additional data to a button-menu onselect hander?I have a lightning-button-menu in a loop (this is a minimal example, and not a real-world case). When a menu item is selected,...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images