No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
aura:application
An app is a special top-level component whose markup is in a .app
resource.
The markup looks similar to HTML and can contain components as well as a set of supported HTML tags. The .app resource is a standalone entry point for the app and enables you to define the overall application layout, style sheets, and global JavaScript includes. It starts with the top-level <aura:application> tag, which contains optional system attributes. These system attributes tell the framework how to configure the app.
| System Attribute | Type | Description |
|---|---|---|
| access | String | Indicates whether the app can be extended by another app outside of a namespace. Possible values are public (default), and global. |
| controller | String | The server-side controller class for the app. The format is namespace.myController. |
| description | String | A brief description of the app. |
| implements | String | A comma-separated list of interfaces that the app implements. |
| useAppcache | Boolean | Specifies whether to use the application cache. Valid options are true or false. Defaults to false. |
aura:application 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 app. In markup, this is everything in the body of the tag. |