Created
November 12, 2018 13:40
-
-
Save simpluslabs/e80d049921736bf8747ff5f0da4f9955 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
({ | |
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