Answers for "calling lightning component from another lightning component"

0

calling lightning component from another lightning component

var evt = $A.get("e.force:navigateToComponent");
        console.log('Event '+evt);
        var accountFromId = component.get("v.recordId");
        evt.setParams({
            componentDef  : "c:AffiliateSaveForm" ,
            componentAttribute : {
                accId : accountFromId
            }

        });
        evt.fire();
Posted by: Guest on April-28-2020
0

calling lightning component from another lightning component

console.log('Enter Here');
var evt = $A.get("e.force:navigateToComponent");
console.log('evt'+evt);
evt.setParams({
componentDef: "c:Component2"
//componentAttributes :{ }
});

evt.fire();
Posted by: Guest on April-28-2020
0

calling lightning component from another lightning component

var evt = $A.get("e.force:navigateToComponent");
        console.log('Event '+evt);
        var accountFromId = component.get("v.recordId");
        evt.setParams({
            componentDef  : "c:AffiliateSaveForm" ,
            componentAttribute : {
                accId : accountFromId
            }
        

        });
      
        evt.fire();
Posted by: Guest on April-28-2020

Code answers related to "calling lightning component from another lightning component"

Browse Popular Code Answers by Language