Newer Version Available

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

Attribute Access Control

The access attribute on the aura:attribute tag indicates whether the attribute can be used outside of the attribute’s namespace.

Possible values are listed below.

Access Description
global The attribute can be used in any namespace.
public The attribute can be used within the same namespace only. This is the default access level.
private The attribute can be used only within the container app, interface, component, or event, and can’t be referenced externally.