July 2018
Beginner to intermediate
458 pages
9h 58m
English
Before we dig into how events work in Lightning Components, it is important to briefly touch on JavaScript fundamentals in browser events. In this section, we will explore the bubbling and capturing phases in browser events.
Browser events are signals that are fired on actions (such as page loads, button clicks, key presses, and form submissions). The full list of events supported by browsers can be viewed in the Mozilla developer docs, at https://developer.mozilla.org/en-US/docs/Web/Events.
JavaScript provides various ways to attach event handlers. Some of them are as follows:
Read now
Unlock full access