Skip to content

Instantly share code, notes, and snippets.



Created Nov 13, 2018
What would you like to do?
<aura:application >
<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}"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment