Activity Forums Salesforce® Discussions What is the use of aura:set in Lightning Component in Salesforce?

  • What is the use of aura:set in Lightning Component in Salesforce?

    Posted by Deepak on August 20, 2020 at 2:51 PM

    What is the use of aura:set in Lightning Component in Salesforce?

    Shweta replied 6 years ago 2 Members · 1 Reply
  • 1 Reply
  • Shweta

    Member
    August 20, 2020 at 3:47 PM

    <aura:set>: this lightning component is used in markup to set the value of an attribute inherited from a component or event. e.g.:
    <div><div><aura:component>

    <div><div> <ui:button label="Save">

    <div><div> <aura:set attribute="buttonTitle" value="Click" to=" save="" the="" record=""></aura:set>

    <div><div> </ui:button>

    <div><div></aura:component>

    </div></div></div></div></div></div></div></div></div></div>

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos