Show Alert
Displays a temporary toast-style alert message to the user, lasting 5 seconds. The duration of the alert message can't be modified.

Signature
showAlert(message: string, style: string) -> Promise
Arguments
Argument Name | Description |
---|---|
Message | The message to show the user. |
Style | The style of alert message. Can be one of "info," "success," "error," or "warning." |