Skip to content

Instantly share code, notes, and snippets.

@brianmfear
Created February 24, 2022 15:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianmfear/941cc218a5f320bb7bd6e78a97f0d321 to your computer and use it in GitHub Desktop.
Save brianmfear/941cc218a5f320bb7bd6e78a97f0d321 to your computer and use it in GitHub Desktop.
<aura:application >
<aura:attribute name="show" type="Boolean" default="false" />
<aura:if isTrue="{!v.show}">
<c:q369501c />
</aura:if>
</aura:application>
<aura:component >
<aura:handler name="init" value="{!this}" action="{!c.init}" />
</aura:component>
({
init: function(component, event, helper) {
alert('I was initialized!')
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment