Skip to Content
Learning Salesforce Lightning Application Development
book

Learning Salesforce Lightning Application Development

by Mohit Shrivatsava
July 2018
Beginner to intermediate
458 pages
9h 58m
English
Packt Publishing
Content preview from Learning Salesforce Lightning Application Development

Events in the Lightning Component Framework

The Lightning Component framework is based on the event-driven model. For two components to talk to each other, the framework recommends using Lightning events. In an event-driven modal, one component acts as a publisher (publisher components register and fire events), and one or more components can subscribe to published events and take action. In the Lightning Component framework, there are two primary types of events: application events and component events. Events are created in a separate file, with an extension of .evt. Events in Lightning can also consist of attributes, which allow events to carry data from one component to another.

In this chapter, we will cover the following topics:

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Application Development with Force.com

Mastering Application Development with Force.com

Kevin J. Poorman
Learning Salesforce Einstein

Learning Salesforce Einstein

Mohit Shrivatsava, Raghuver Parupalli

Publisher Resources

ISBN: 9781787124677Supplemental Content