Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@tyoshikawa1106
Last active June 16, 2020 16:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tyoshikawa1106/7d6e0dcf94c3f5e60558 to your computer and use it in GitHub Desktop.
Save tyoshikawa1106/7d6e0dcf94c3f5e60558 to your computer and use it in GitHub Desktop.
Lightning aura:handler
aura:waiting
<aura:handler event="aura:waiting" action="{!c.showSpinner}"/>
aura:valueInit
<aura:handler name="init" value="{!this}" action="{!c.doInit}"/>
aura:valueDestroy
<aura:handler name="destroy" value="{!this}" action="{!c.handleDestroy}"/>
aura:valueChange
<aura:handler name="change" value="{!v.items}" action="{!c.itemsChange}"/>
aura:systemError
<aura:handler event="aura:systemError" action="{!c.handleError}"/>
aura:locationChange
<aura:handler event="aura:locationChange" action="{!c.update}"/>
aura:doneWaiting
<aura:handler event="aura:doneWaiting" action="{!c.hideSpinner}"/>
aura:doneRendering
<aura:handler event="aura:doneRendering" action="{!c.doneRendering}"/>
Developer's Guide
http://www.salesforce.com/us/developer/docs/lightning/index.htm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment