Created
November 14, 2018 05:04
-
-
Save simpluslabs/c8d365af58ca01c815900307f29151aa 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
({ | |
handleLoad : function(component, event, helper) { | |
console.log('handle handleLoad'); | |
component.set("v.showSpinner", false); | |
}, | |
handleSubmit : function(component, event, helper) { | |
event.preventDefault(); // Prevent default submit | |
var fields = event.getParam("fields"); | |
component.find('createAccountForm').submit(fields); // Submit form | |
console.log('handle handleSubmit'); | |
}, | |
handleSuccess : function(component, event, helper) { | |
console.log('record updated successfully'); | |
component.set("v.showSpinner", false); | |
}, | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment