0

I have two lightning component and two lightning application. Comp1 is on app1 and Comp2 in on app2. Now, How can i pass the values from comp1 to comp2. Is it possible or I have to create one application instead of two ??

2

1 Answer 1

0

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>
1
  • Yes, I know this but my question is - suppose i have component1 and component2 component1 is on application1 and component2 is on application2. In other word how to pass value from application1 to application2. Commented Aug 27, 2019 at 8:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .