Activity Forums Salesforce® Discussions How to pass values across Salesforce Lightning Applications?

  • Laveena

    Member
    August 27, 2019 at 5:35 am

    Hi Yogesh,

    Suppose, There are two components

    <aura:component>
    <aura:attribute a/>
    </aura:component>
    and

    <aura:component>
    <aura:attribute b/>
    </aura:component>
    and you need to pass first component's value a to second's b.

    Then

    <aura:component>
    <aura:attribute a/>

    <c:secondcomp b="{!a}">

    </aura:component>

    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos