Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
({
doInit : function(component, event, helper) {
var conListAction = component.get("c.getContactList");
conListAction.setCallback(this, function(response){
var state = response.getState();
if(state=='SUCCESS')
{
var retValue = response.getReturnValue();
component.set("v.conList",retValue);
}
});
$A.enqueueAction(conListAction);
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.