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

  • Shweta

    Member
    January 29, 2020 at 3:04 pm

    Event :  It is an action that is performed by the user, while interacting with an app. In Lightning component, event are fired by the JavaScript controller actions. It is declared by the aura:event tag.

    Type of Event :

    Application Event : It is used when you need two independent component to communicate with each other.

    Component Event : It is fired from an instance of a component. It can be handled by the component that fired the event or by a component in the containment hierarchy that receives the event.

     

Log In to reply.

Popular Salesforce Blogs

AI in Salesforce

Transform businesses with the power of Artificial Intelligence leveraged through Salesforce Einstein

Blog in

Artificial Intelligence is powering next-generation customer experiences with smart predictions, intelligent recommendations, timely automation and much more. Gartner predicts that by 2020, a staggering 85% of…

Popular Salesforce Videos