Activity Forums Salesforce® Discussions What is the difference between system, Application & Component Event in lighting Component

  • What is the difference between system, Application & Component Event in lighting Component

    Posted by Saddam on August 23, 2019 at 11:04 am

    What is the difference between system, Application & Component Event in lighting Component

    Nikita replied 4 years, 8 months ago 2 Members · 1 Reply
  • 1 Reply
  • Nikita

    Member
    August 23, 2019 at 11:08 am

    Hi Saddam,

    Component events are used to do communication between child and parent. They use bubbling and capture the same as used in DOM events. A change in a child component can be communicated to the parent component via the component event.

    Application events are used to communicate any change in the component to a broader audience. Any component who has registered for this event will get a notified.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos