Created
April 5, 2020 08:26
-
-
Save arun12209/88bbd0393bbdef9edc6dd20a0e2d2622 to your computer and use it in GitHub Desktop.
Covid19_IND_TrackerController
This file contains hidden or 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) { | |
helper.fetchData(component,event,helper); | |
helper.setColumns(component); | |
helper.setData(component); | |
}, | |
handleSort: function(component, event, helper) { | |
helper.handleSort(component, event); | |
}, | |
// this function automatic call by aura:waiting event | |
showSpinner: function(component, event, helper) { | |
// make Spinner attribute true for display loading spinner | |
component.set("v.Spinner", true); | |
}, | |
// this function automatic call by aura:doneWaiting event | |
hideSpinner : function(component,event,helper){ | |
// make Spinner attribute to false for hide loading spinner | |
component.set("v.Spinner", false); | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment