Template

aura:template

Provides the default template to bootstrap the Aura framework. To use another template, extend aura:template and set attributes using aura:set.

For Use In

Lightning Experience, Experience Builder Sites, Salesforce Mobile App, Lightning Out (Beta), Standalone Lightning App

Attributes 

NameDescriptionTypeDefaultRequired
auraPreInitBlockThe block of content that is rendered before Aura initialization.Aura.Component[]
bodyClassExtra body CSS stylesString
defaultBodyClassDefault body CSS styles.Stringloading
doctypeThe DOCTYPE declaration for the template.String<!DOCTYPE html>
errorMessageError loading textStringCSS Error
errorTitleError title when an error has occurred.StringSorry to interrupt
loadingTextLoading textStringLoading
titleThe title of the template.StringAura