alert()
Last updated 24/03/2026
alert() is a function on the Five object that
displays a dialog message that the user must acknowledge. An optional
callback
can be provided to execute code once the dialog is closed.
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 |
Return Value
This function does not have a return value.