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

The specified initialization vector (IV) does not match the block size for this algorithm