new module:ct-dom /alert /Standard Alert Dispatcher()
Constructs a new instance of StandardAlertDispatcher
.
The StandardAlertDispatcher
is an implementation
of the ct-services/UserPromptService
service.
- Implements:
Members
(static, readonly) BODY _PADDING :int
The amount of padding (in pixels) surrounding the text within the dialog box.
Type:
- int
(static, readonly) DIALOG _MIN _WIDTH :int
The minimum width of the dialog box in pixels.
Type:
- int
Methods
is Alert Showing() → {boolean}
Used to query if an alert or confirm alert dialog is currently displayed.
Does not cover confirm dialogs only alerts.
Returns:
true
if an alert/confirm alert is currently displayed, otherwise false
.
- Type
- boolean