dlt.hideLoading
Introduction
Used to hide the loading popup.
Parameters
Object object
Property | Type | Default Value | Required | Description |
---|---|---|---|---|
success | function | No | Callback function for a successful API call | |
fail | function | No | Callback function for a failed API call | |
complete | function | No | Callback function that is called when the API call is complete (whether successful or not) |
Example Code
dlt.hideLoading({
success() {
console.log('success');
},
});