Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<aura:component >
<aura:handler name="init" value="{! this}" action="{! c.doInit}" />
<aura:attribute name="noOfTimesClicked" type="Integer"/>
<aura:handler name="change" value="{! v.noOfTimesClicked}" action="{! c.handleChange}" />
<lightning:button variant="base" label="UpdateClick" title="UpdateClick" onclick="{! c.handleClick }"/>
<c:ChildComp1 noOfTimesClicked="{! v.noOfTimesClicked}"/>
<c:ChildComp2 />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.