Use this API to show a brief message that automatically disappears.Documentation Index
Fetch the complete documentation index at: https://docs.rebellapp.com/llms.txt
Use this file to discover all available pages before exploring further.
Parameters
| Property | Type | Required | Description |
|---|---|---|---|
| content | String | No | Toast message (required if type is exception) |
| type | String | No | Toast type: success, fail, exception, none (default: none) |
| duration | Number | No | Display duration in ms (default: 2000) |
| success | Function | No | Callback on success |
| fail | Function | No | Callback on failure |
| complete | Function | No | Callback that always executes |
Code Example
Related APIs
my.hideToast
Hide toast
my.showLoading
Show loading indicator