AlertBox
Displays an alert box that can contain an icon and text that inform and instruct the user. Alert boxes are not modal and can disappear automatically.
Last updated
Displays an alert box that can contain an icon and text that inform and instruct the user. Alert boxes are not modal and can disappear automatically.
Last updated
You cannot create a new instance of the AlertBox class. To display a message box, call the static
method AlertBox.Show. The title, message, and icons displayed in the alert box are determined by parameters that you pass to this method.
For a full list of properties, methods and events see the API documentation.
The AlertBox features several different alert styles.
None: No icon is shown in the message box.
Error: The message box contains an icon consisting of an X or an exclamation point typically on a red background to symbolize an error condition.
Stop: The message box contains an icon consisting of a stop sign.
Hand: The message box contains an icon consisting of a raised hand.
Question: The message box contains an icon consisting of a question mark in a circle.
Warning: The message box contains an icon consisting of an exclamation point in a triangle // to symbolize a warning sign.
Information: The message box contains an icon consisting of the letter i in a circle.
The AlertBox can show HTML in it's message by setting the allowHtml argument to true.
Item | Description |
---|---|
Class name | "wisej.web.AlertBox" |
Theme appearance | "alertbox", see Themes. |
Source code |