Creating a sales LeaderBoard Lightning Application using events

The aim of this section is to build a Lightning Application to display a sales LeaderBoard and to launch a modal using the events. We will pass data to the modal component using the application event.

A diagram of the component that we will be building is as follows:

The following screenshot displays the LeaderBoard card component:

Once the card is clicked on, the modal displays the details as follows:

Let's start with the backend Apex code needed for the frontend markup. The ...

Get Learning Salesforce Lightning Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.