Hello,
I develop on an existing LWC and there is something I don't understand. There are 2 custom LWC and the parent LWC calls the child LWC by passing a method (from him) as a parameter the child LWC.
This is the call:
<c-child-component
onrefreshsalesassociates={handleRefreshSalesAssociates}
"handleRefreshSalesAssociates" is a method in the parent LWC but not in the child LWC, it is not a variable.
My question is what is "onrefreshsalesassociates"? I can't find anything in the parent LWC and in the child LWC.
Do you know what it is and how it is used please (or maybe a keyword to give me the opportunity to search on the internet)?
Thanks
refreshsalesassociates
(without the "on") in your child LWC, then at this or this.