dialog.confirm() function
Wrapper to window.confirm() that app developers may override via setConfirm to provide alternatives to the modal browser window.
Signature:
export declare function confirm(message: string, callback: (result: boolean) => void): void;
Parameters
Parameter | Type | Description |
|---|---|---|
message | string | The message to display to the user. |
callback | (result: boolean) => void | The callback for handling user response. |
Returns:
void