The components included in this chapter will appear in Lightning App Builder and are thus available for the developer and consumers of the package to drag and drop them onto pages. Because they are global
they can also use them in their own component code:
This is due to the following aspects:
access
attribute on the components is set to global.flexipage
and force
interfaces..design
files specify a component label:<design:component label="Race Calendar"> </design:component>
.svg
file for the c:CheckCompliance
component defines a custom icon that is displayed next to the component in the Lightning App Builder.Race__c
custom object:<design:component label="Race Results"> <sfdc:objects> <sfdc:object>Race__c</sfdc:object> </sfdc:objects> </design:component>
The components can also declare attributes that appear in the configuration panel to the right of the Lightning App Builder design surface. These are expressed using the design:attribute
element within the .design
file. These must match those expressed in the component markup. Any attributes exposed this way must also have an access level of global.
18.217.254.118