-2

How to call Lightning Component JS controller call one method from other method without helper

selectOther: function(component, event, helper) {
       //Call fetchAddress
},
fetchAddress: function(component, event, helper) {
       console.log('---fetchAddress');
}
0

1 Answer 1

-1
selectOther: function(component, event, helper) {
   var fethAddress = component.get('c.fetchAddress');
   $A.enqueueAction(fethAddress);
},
fetchAddress: function(component, event, helper) {
   console.log('---fetchAddress');
}

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