Activity Forums Salesforce® Discussions What is Value provider and What is action provider in Salesforce Lightning?

  • What is Value provider and What is action provider in Salesforce Lightning?

    Posted by Anuj on June 17, 2020 at 3:08 pm

    What is Value provider and What is action provider in Salesforce Lightning component?

    Pooja replied 4 years, 5 months ago 3 Members · 2 Replies
  • 2 Replies
  • Shweta

    Member
    June 19, 2020 at 3:42 pm

    Value providers: It is a way to access data. It encapsulates related values together, similar to how an object encapsulates properties and methods. It enables us to access the value of a component attribute in component markup and javascript controller.
    Action provider: It enables us to handle actions, events, handlers for the component.

  • Pooja

    Member
    June 19, 2020 at 5:08 pm

    is a way to access data. It encapsulates related values together, similar to how an object encapsulates properties and methods.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos