public class Bootbox extends Object
Constructor and Description |
---|
Bootbox() |
Modifier and Type | Method and Description |
---|---|
static void |
alert(String msg)
Displays a message in a modal dialog box.
|
static void |
alert(String msg,
AlertCallback callback)
Displays a message in a modal dialog box.
|
static void |
confirm(String msg,
ConfirmCallback callback)
Displays a message in a modal dialog box, along with the standard 'OK' and
'Cancel' buttons.
|
static void |
prompt(String msg,
PromptCallback callback)
Displays a request for information in a modal dialog box, along with the
standard 'OK' and 'Cancel' buttons.
|
public static void alert(String msg)
msg
- the message to be displayed.public static void alert(String msg, AlertCallback callback)
msg
- the message to be displayed.callback
- the callback handler.public static void confirm(String msg, ConfirmCallback callback)
msg
- the message to be displayed.callback
- the callback handler.public static void prompt(String msg, PromptCallback callback)
msg
- the message to be displayed.callback
- the callback handler.Copyright © 2015. All rights reserved.