Activity Forums Salesforce® Discussions What is the need of aura methods in Salesforce?

  • Prachi

    Member
    November 18, 2019 at 2:20 am

    Hi,

    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. Using <aura:method> simplifies the code needed for a parent component to call a method on a child component that it contains.

    Thanks.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos