There are parent and sub components. Each component has :

<aura:handler name="change" value="{!v.var}" action="{!c.onVarChange}"/>

Each component defines onVarChange in its controller respectively. But for sub-component we have the following execution flow:

  1. parent.onVarChange
  2. sub.onVarChange

So both parent and sub compoents' handlers are called for sub component.

How to ignore execution of handler on parent component parent.onVarChange when we use sub component ?

  • @KrisGray you should write that up as an answer... :-)
    – pchittum
    May 3, 2015 at 9:22

1 Answer 1


You want the equivalent of stopPropagation() which doesn't exist yet. Sorry. You could fake it by setting properties on the component and checking them at the different levels. Hacky but maybe your only option.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.