$confirm
Shows a confirmation alert box that the user can close. The same as $alert, except with a question mark icon and a OK and Cancel button, where the OK buttons returns true in a callback. See Examples for how to use it.
$confirm(options, callback)
| Parameter | Type | Description |
|---|---|---|
| options | String or WinObject | The text to display. Can also be a WinObject with a msg (and icon) property, to set more specific options. |
| callback | Function | The callback for the function. Called with true if user presses OK, and with false if the user pressed Cancel. |