Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 305 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 305 Bytes

PubSub-Model

Publisher Subscriber Model in LWC

These are the Simple Steps to Call LWC methods / Functions from a JS Function

    1. Publisher is JS file
    2. Subscriber is LWC add all EventListners in ConnectedCallback
    3. Have a publisher-subscriber connector provided by Salesforce