$alert
Shows an alert box that the user can close.
$alert(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 |
$alert.error
Shows an error that the user can close.
$alert.error(options, callback)
| Parameter | Type | Description |
|---|---|---|
| options | String | The text to display. A WinObject is not supported for this. |
| callback | Function | The callback for the function. Called with true if user presses OK |
$alert.info
Shows an info alert box that the user can close.
$alert.info(options, callback)
| Parameter | Type | Description |
|---|---|---|
| options | String | The text to display. A WinObject is not supported for this. |
| callback | Function | The callback for the function. Called with true if user presses OK |