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