Newer Version Available

This content describes an older version of this product. View Latest

aura:component

A component is represented by the aura:component tag, which has the following optional attributes.

Attribute Type Description
access String Indicates whether the component can be used outside of its own namespace. Possible values are public (default), and global.
controller String The server-side controller class for the component. The format is namespace.myController.
description String A description of the component.
implements String A comma-separated list of interfaces that the component implements.

aura:component also includes a body attribute defined in a <aura:attribute> tag. Attributes usually control the output or behavior of a component, but not the configuration information in system attributes.

Attribute Type Description
body Component[] The body of the component. In markup, this is everything in the body of the tag.