Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<aura:component >
<!--ParentComp-->
<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 />
</aura:component>
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.