What should be included in a Lightning configuration file?

What should be included in a Lightning configuration file?

The configuration file defines the metadata values for the component, including targets and the design configuration for the Lightning App Builder and Experience Builder. Salesforce API version 45.0 or higher. Regardless of apiVersion, the component always uses the latest version of Lightning Data Service and base Lightning components.

Can a custom web component access a lightning web component?

Note A custom Lightning web component can’t access a Lightning web component or module in a custom namespace. It can access Lightning web components and modules only in the c and lightning namespaces. The title of the component.

How to set public property in Lightning app builder?

Specifies a public property of a component that can be set in Lightning App Builder, App Manager, Flow Builder, or Experience Builder. The component author defines the property in the component’s JavaScript class using the @api decorator. Renders a field as a picklist, with static values.

How does the Salesforce Lightning component library work?

Salesforce supports many object or field suffixes to represent different types of data. Lightning Web Components supports the import of references to standard objects, as well as the import of references to custom objects ( __c) only. For example: Consider these workarounds for importing references to some other object or field suffixes.

What does the label of a component do in Lightning?

It contains the component’s design-time configuration for tools such as the App Builder to use. Sets the label of the component when it displays in tools such as App Builder. When creating a custom Lightning page template component, this text displays as the name of the template in the Lightning App Builder new page wizard.

How to use lightning component in experience builder?

To allow the component to be used in Lightning App Builder or Experience Builder, set isExposed to true and define at least one , which is a type of Lightning page. Note A custom Lightning web component can’t access a Lightning web component or module in a custom namespace.