alert()
Last updated 8/07/2025
The
alert()
is a function on the Five
object that provides a way to show a dialog to a user with a message. The message needs to be
acknowledged, and you can provide an optional callback
parameter to know when they have closed the dialog.
Available
Client
Function Signature
alert(message: string [, callback: ()=>void]) : void;
| Parameter | Type | Description |
|---|---|---|
message | string | Message to be displayed in the dialog as a string |
callback | function | An optional callback function |