Function: alert()
function alert(message, opt_callback?): void;
Defined in: packages/blockly/core/dialog.ts:60
Wrapper to window.alert() that app developers may override via setAlert to provide alternatives to the modal browser window.
Parameters
| Parameter | Type | Description |
|---|---|---|
message | string | The message to display to the user. |
opt_callback? | () => void | The callback when the alert is dismissed. |
Returns
void