Created
November 12, 2018 07:17
-
-
Save simpluslabs/54c1d5e89f6f850eee22afd3c6e8dfe5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<aura:component> | |
<aura:attribute name="messageFromEvent" type="String"/> | |
<aura:attribute name="numEvents" type="Integer" default="0"/> | |
<aura:handler event="c:AppEvent" action="{!c.handleApplicationEvent}"/> | |
<p>{!v.messageFromEvent}</p> | |
<p>Number of events: {!v.numEvents}</p> | |
</aura:component> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment