You need to sign in to do that
Don't have an account?
VSK98
Aura Method is not working
Hi All,
I have two components (Parent & child) & I am passing some parameters from Parent to Child using Aura method. I can able to retrieve the parameters to Child also. But I couldn't able to bind the parameter value to the child attribute.
Screenshot:
Code:
Regards,
VSK98
I have two components (Parent & child) & I am passing some parameters from Parent to Child using Aura method. I can able to retrieve the parameters to Child also. But I couldn't able to bind the parameter value to the child attribute.
Screenshot:
Code:
executeMyMethod : function(component, event, helper) { var params = event.getParam('arguments'); console.log('name: '+ params.name); -- Getting values console.log('city: '+ params.city); console.log('Assetcnt: '+ params.Assetcnt); console.log('CustomerId: '+ params.CustomerId); console.log('children: '+ params.children); component.set("v.name",params.name); alert(component.set("v.name",params.name));-------UndefinedCould you please help me out.
Regards,
VSK98