Package | Description |
---|---|
org.gwtbootstrap3.extras.bootbox.client | |
org.gwtbootstrap3.extras.bootbox.client.callback | |
org.gwtbootstrap3.extras.bootbox.client.options |
Modifier and Type | Method and Description |
---|---|
static void |
Bootbox.alert(String msg,
SimpleCallback callback)
Displays a message in a modal dialog box.
|
static void |
Bootbox.init(SimpleCallback callback)
Sets a callback when dialog gets initialized.
|
Modifier and Type | Field and Description |
---|---|
static SimpleCallback |
SimpleCallback.DEFAULT_SIMPLE_CALLBACK
Default
SimpleCallback does nothing. |
Modifier and Type | Method and Description |
---|---|
void |
DialogOptions.addButton(String label,
SimpleCallback callback)
Adds a custom button with a callback.
|
void |
DialogOptions.addButton(String label,
String className,
SimpleCallback callback)
Adds a custom button with a class name and a callback.
|
void |
AlertOptions.setCallback(SimpleCallback callback) |
void |
DialogOptions.setOnEscape(SimpleCallback callback)
Allows the user to dismiss the dialog by hitting
ESC , which will invoke this function.Defaults to null for custom dialogs. |
Copyright © 2017. All rights reserved.