Methods
(static) exports.sendToast(message, type) → {void}
Sends a toast notification with the specified message and type
Parameters:
Name | Type | Description |
---|---|---|
message | string | The message to display |
type | string | The type of toast (success, error, warning, info) |
Returns:
- Type:
- void