In Winter 20 Release salesforce announce Lightning Message Service (LMS). We can use this single API to communicate between All Salesforce UI platform eg: Visualforce, Lightning Component, Lightning Web Components (LWC). Today I will share one demo where I will pass data between all type of components.We will create each component and I will also…
Tag: Pubsub module
Pass Data between Components using Events in Lightning Web Components
In our Last post we checked how we can fetch data from Apex in Lightning Web Components (LWC). In this post how we can pass data between components using events in Lightning Web Component. In Lightning We have two way binding, in which if value of attribute is changed in child component then that is…