Guest User

Untitled

a guest
Jan 18th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. ({
  2.  
  3. doInit: function(component, event, helper) {
  4.   var action = component.get('c.buscaAccount');
  5.  
  6.   action.setCallback(this, function(response) {
  7.  
  8.    var state = response.getState();
  9.  
  10.    if (state === "SUCCESS") {
  11.     component.set('v.ListOfAccount', response.getReturnValue());
  12.    }
  13.  
  14.   });
  15.  
  16.   $A.enqueueAction(action);
  17.  
  18. },
  19.  
  20. })
Add Comment
Please, Sign In to add comment