2 件の回答
Hey Gnana Sundar, <button class="slds-button slds-button--neutral" title="false" data-buttonval="false" onclick="{!c.confirm}" >Cancel</button> <button class="slds-button slds-button--brand" title="true" data-buttonval="true" onclick="{!c.confirm}" >confirm</button>controller use below code: console.log(event.target.dataset.buttonval); //gives true/false based on selection. Regards,Naveen Ila