The following screenshot shows the topmost portion of the c-raceStandings component:
The following component markup is a simplified HTML <table> styled using the SLDS:
<template> <lightning-card title="Standings" icon-name="standard:reward"> <lightning-datatable key-field="Driver" data={standings.data} columns={columns} hide-checkbox-column="true"> </lightning-datatable> </lightning-card></template>
Other notable aspects of the RaceStandings component are listed here:
- The corresponding raceCalendar.js-meta.xml file references the lightning__RecordPage, lightning__AppPage, and lightning__HomePage targets, which permit ...