calling a child component method from parent lightning web component
In last two blogs, We have learnt to communicate and pass data between parent to child and child to parent Lightning Web Component. This time
In the last blog, We have seen how to pass data from parent to child lightning web component. Now, there will be scenario where you
Communication is very important to write dynamic and flexible Lightning web Component. There are multiple way to communicate between two component in Lightning Web Component.
Use Case:- We are using lightning-record-edit-form to create Contact record associated to an Account. We need to populate the account id in Contact form placed
Lightning Web Component allows us to get current User information without calling any server method. Let’s go through the code:- As you all know, Lightning