Skip to content

Instantly share code, notes, and snippets.

@iamsonal
Last active June 28, 2017 08:34
Show Gist options
  • Save iamsonal/9e38156952de7b1023743c9bf19d53fa to your computer and use it in GitHub Desktop.
Save iamsonal/9e38156952de7b1023743c9bf19d53fa to your computer and use it in GitHub Desktop.
compEvent and appEvent events
<!--c:compEvent-->
<aura:event type="COMPONENT">
<!-- pass context of where the event was fired to the handler. -->
<aura:attribute name="context" type="String"/>
</aura:event>
<!--c:appEvent-->
<aura:event type="APPLICATION">
<!-- pass context of where the event was fired to the handler. -->
<aura:attribute name="context" type="String"/>
</aura:event>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment