Activity Forums Salesforce® Discussions What is the use of aura.action in sfdc?

  • Achintya

    Member
    August 14, 2019 at 11:14 am

    An Aura.Action is a reference to an action in the framework. If a child component has an Aura.Action attribute, a parent component can pass in an action handler when it instantiates the child component in its markup.

  • Laveena

    Member
    August 19, 2019 at 12:42 pm

    Hi Saddam,

    The following  pattern is a shortcut to pass a controller action from a parent component to a child component that it contains, and is used for on*handlers, such as onclick. If a child component has an Aura.Action attribute, a parent component can pass in an action handler when it instantiates the child component in its markup.

    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos