1

I don't understand this problem,please,tell me more about it.How I may decide this?

2 Answers 2

7

It's getCallback and setCallback. Note the lowercase b instead of uppercase B. JavaScript is cAsE-sEnSiTiVe.

1

At line number 9, remove $A.getCallBack and try to save the helper js. Below is the code snippet

action.setCallback(this,function(response){

// logic

}

$A.getCallback() is used when passing a callback function to a function outside the Lightning framework that might interact with a component outside the normal rendering lifecycle, such as setTimeout():

You must log in to answer this question.

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