Activity Forums Salesforce® Discussions How can we call child component controller method from the parent component controller method?

  • Prachi

    Member
    August 24, 2018 at 1:51 pm

    Hi Anurag,

    Application Event handler should not contain name attribute just the event and action attribute is enough as mentioned here.

    This is how an application event should be fired in your clear method:

    ({
    clear : function(component, event, helper) {
    $A.get("e.c:clrValues").fire();
    }
    })
    Thanks.

  • Parul

    Member
    September 22, 2018 at 4:16 pm

    Yes, we can call using aura methods.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos