Function: confirm()
function confirm(message, callback): void;
Defined in: packages/blockly/core/dialog.ts:87
Wrapper to window.confirm() that app developers may override via setConfirm to provide alternatives to the modal browser window.
Parameters
| Parameter | Type | Description |
|---|---|---|
message | string | The message to display to the user. |
callback | (result) => void | The callback for handling user response. |
Returns
void