Parameters
Code Example
Related APIs
my.showToast
Show toast
my.hideLoading
Hide loading
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Hide the currently displayed toast.
| Property | Type | Required | Description |
|---|---|---|---|
| success | Function | No | Callback on success |
| fail | Function | No | Callback on failure |
| complete | Function | No | Callback that always executes |
my.showToast({
content: 'Processing...',
duration: 10000
});
// Hide early when done
setTimeout(() => {
my.hideToast();
}, 2000);