Salesforce Fact #810 | Call parent component method in child LWC

In order to call parent component's method in child LWC component, we can pass the method as a public property from parent to child and then invoke the same in child component.

Reference: https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000C5ddmSAB

Attached are the screenshots.






Comments

Popular posts from this blog

Salesforce Fact #218 | Blank picklist value is actually NULL

Salesforce Fact #929 | Nth highest in screen flow

Salesforce Fact #989 | New delete files permission