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

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type