Function: setAlert()
function setAlert(alertFunction?): void;
Defined in: packages/blockly/core/dialog.ts:71
Sets the function to be run when Blockly.dialog.alert() is called.
Parameters
| Parameter | Type | Default value | Description |
|---|---|---|---|
alertFunction | (message, callback?) => void | defaultAlert | The function to be run, or undefined to restore the default implementation. |
Returns
void
See
Blockly.dialog.alert