alert
- AbstractItem.alert(mess, options)
- Domain:
client
- Language:
javascript
- Class:
Description
Use the alert method to create a pop-up message in the upper-right corner
application that disappears after the first click on the page.
Parameters
Parameter |
Type |
Description |
||||
|---|---|---|---|---|---|---|
|
|
Specifies the text that will be displayed. |
||||
|
|
An object with the following attributes:
|
||||
|
|
Specifies the header of the alert. |
||||
|
|
If |
||||
|
|
If |
The methods alert_error and alert_success are the same as alert
with the corresponding type options.
Example
item.alert_error('Failed to send the mail: ' + err);
item.alert('Successfully sent the mail');