Activity Forums Salesforce® Discussions What aura:method does in Salesforce Lightning Component?

  • Avnish Yadav

    Member
    July 10, 2018 at 6:15 pm

    Hello Prachi,

    The aura: method which allows you to directly call a method in a component’s client-side controller instead of firing and handling a component event. It passes value from the child component to the parent component.

    Thanks.

  • Anjali

    Member
    September 21, 2018 at 1:53 pm

    Hi Prachi,

    aura:method: Use <aura:method> to define a method as part of a component’s API. This enables you to directly call a method in a component’s client-side controller instead of firing and handling a component event.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos