showLoading
Description
Display Zalopay's loading dialog when the miniapp performs heavy tasks
Parameters
N/A
Return Value
N/A
Error Code
N/A
Sample Code and Sample Return Data
Sample Request:
window.zlpSdk.UI
.showLoading()
.then((response) => console.log(response))
.catch((error) => console.error(error.errorCode));
Sample Response:
{ data: {}, status: "success" }