What is the basic difference between application event and component event? : salesforce lightning component



What is the basic difference between application event and component event? : salesforce lightning c..

Answer / Naman Goel

Application events are global events that can be fired by any Aura or LockerService component in your app. Component events, on the other hand, are custom events specific to a particular Lightning Component. Application events are useful for communication between components with no direct parent-child relationship, while component events allow for more targeted communication within a single component hierarchy.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Salesforce Interview Questions

What is the difference between a Standard Controller and Custom Controller?

1 Answers   Cognizant,


How many controllers can be used in the visualforce page?

1 Answers  


Can a apex trigger call a batch class in salesforce?

1 Answers  


Explain what is dashboard?

1 Answers  


How to read all child elements in xml dom ? : salesforce integration

1 Answers  


What is wrapper class in salesforce?

1 Answers  


Difference between Trigger.new & Trigger.old?

1 Answers   Accenture,


Can you tell the different ways to share a record?

1 Answers  


What are the apex data types?

1 Answers  


What are the type of events into salesforce lightning component?

1 Answers  


What is field-level security in the salesforce context?

1 Answers  


What is the difference between Trigger and Workflow?

1 Answers  


Categories