my.showLoading().
Parameters
Code Example
Related APIs
my.showLoading
Show loading
my.hideToast
Hide toast
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Hide the loading indicator.
my.showLoading().
| Property | Type | Required | Description |
|---|---|---|---|
| page | Object | No | Page object to hide loading on |
my.showLoading({ content: 'Saving...' });
saveData().then(() => {
my.hideLoading();
my.showToast({ content: 'Saved!', type: 'success' });
});