dialog.alert() function
Wrapper to window.alert() that app developers may override via setAlert to provide alternatives to the modal browser window.
Signature:
export declare function alert(message: string, opt_callback?: () => void): void;
Parameters
Parameter | Type | Description |
---|---|---|
message | string | The message to display to the user. |
opt_callback | () => void | (Optional) The callback when the alert is dismissed. |
Returns:
void