salesforce parent child event interfactions



In the lightning-button-icon, we have a onclick event which can be used to fire off events -



And code below fires off an event called 'bearview'



On the parents side of things, we need to tell parent component to handle the event,



On the parent's javascript :-










Comments

Popular posts from this blog

vllm : Failed to infer device type

android studio kotlin source is null error

gemini cli getting file not defined error