Created
November 13, 2018 05:15
-
-
Save simpluslabs/785cda36943cd08a9824d6ced8075b0c 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:application > | |
<!--TestApp--> | |
<aura:handler name="init" value="{! this}" action="{! c.doInit}" /> | |
<aura:handler name="change" value="{! v.noOfTimesClicked}" action="{! c.handleChange}" /> | |
<aura:attribute name="noOfTimesClicked" type="Integer" default="0"/> | |
<lightning:button variant="base" label="UpdateClick" title="UpdateClick" onclick="{! c.handleClick }"/> | |
<lightning:input /> | |
<c:ParentComp noOfTimesClicked="{! v.noOfTimesClicked}"/> | |
</aura:application> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment