Activity Forums Salesforce® Discussions What are the type of events into Salesforce Lightning component in Salesforce?

  • What are the type of events into Salesforce Lightning component in Salesforce?

    Posted by Aditya on March 5, 2020 at 3:23 pm

    What are the type of events into Salesforce Lightning component in Salesforce?

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

    Member
    March 6, 2020 at 1:27 pm

    Types of event:

    • Component Event: It is handled by the component itself or a component that instantiates or contains the component. It helps in passing values between two independent events (without parent-child relationship). It behaves just like a broadcast message.
    • Application Event: It is handled by all components that are listening to the event. These events are essentially a traditional publish-subscribe model. This event is required in order to pass values from child components to parents.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos