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 #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow