Providing Specification Information and Descriptions

Descriptions on the Specification tab describes a root definition and its attributes and methods.

In the Component Library, the Specification tab renders descriptions from your .cmp, .evt, or .intf file. For instance, see the Specification tab for lightning:avatar at https://developer.salesforce.com/docs/component-library/bundle/lightning:avatar/specification.

HTML markup is not supported in inline descriptions.

The specification information is generated based on the root-level tag, which looks like this.

The specification information includes:

Only root definitions, attributes, and methods marked with access="global" are surfaced in the Component Library.

A root definition with abstract="true" denotes that it’s abstract. An abstract component can’t be used directly in markup. The default is false.

A root definition with extensible="true" denotes that it’s extensible, which makes it a super component. A sub component that extends a super component inherits the attributes of the super component. The default is false.

These tags support inline descriptions via the description attribute.

The root definition tag in a component .cmp file.

The root definition tag in an event .evt file.

The root definition tag in an interface .intf file.

An attribute tag in a component, event, or interface file.

A method tag in a component , event, or interface file. Each method tag can contain multiple attribute tags.