MessageDialog

Configs

120

Common

listenersEvents

Accessibility

ariaLabelWidget
keyMapKeyMap

Content

bbarPanel
defaultsContainer
footerPanel
headerPanel
itemsContainer
lazyItemsContainer
namedItemsContainer
stripsPanel
tbarPanel
textContentContainer
toolsPanel

CSS

bodyClsPanel
borderContainer
clsWidget
colorWidget
htmlClsWidget
itemClsContainer
styleWidget
uiPanel

DOM

adoptWidget
appendToWidget
contentWidget
datasetWidget
htmlWidget
idWidget
tagWidget

Float & align

alignWidget
anchorWidget
centeredWidget
floatingWidget
xWidget
yWidget

Layout

alignSelfWidget
dockWidget
flexWidget
heightWidget
hiddenWidget
hideWhenEmptyContainer
layoutContainer
layoutStyleContainer
marginWidget
maxHeightWidget
maxWidthWidget
minHeightWidget
minWidthWidget
textAlignWidget
weightWidget
widthWidget

misc

tabBarItemsContainer

Misc

dataFieldWidget
disabledWidget
iconPanel
localeClassLocalizable
localizableLocalizable
maskedWidget
ownerWidget
readOnlyWidget
refWidget
rippleWidget
tabWidget
titlePanel
tooltipWidget

Other

columnWidget
defaultFocusContainer
drawerPanel
labelPositionContainer
modalPopup
renditionContainer
resizableResizable
rtlRTL
spanWidget

Record

recordContainer

Scrolling

State

stateIdState

Properties

98

Other

cancelButton: Numberreadonly

The enum value for the Cancel button

okButton: Numberreadonly

The enum value for the OK button

$namestaticWidget
columnWidget
firstItemContainer
hasChangesContainer
isValidContainer
itemsContainer
labelPositionContainer
lastItemContainer
renditionContainer
resizableResizable
rtlRTL
spanWidget
toolsPanel
typestaticWidget
valuesContainer

Accessibility

keyMapKeyMap

Class hierarchy

isContainerContainer
isDelayableDelayable
isEventsEvents
isKeyMapKeyMap
isLocalizableLocalizable
isPanelPanel
isPopupPopup
isResizableResizable
isStateState
isToolableToolable
isWidgetWidget

Content

bbarPanel
tbarPanel

CSS

clsWidget

DOM

appendToWidget
contentWidget
datasetWidget
elementWidget
htmlWidget
idWidget
styleWidget

Float & align

xWidget
yWidget

Layout

alignSelfWidget
flexWidget
heightWidget
layoutContainer
layoutStyleContainer
marginWidget
maxHeightWidget
maxWidthWidget
minHeightWidget
minWidthWidget
widthWidget

Lifecycle

configBase

Misc

cellInfoWidget
disabledWidget
localeHelperLocalizable
localeManagerLocalizable
readOnlyWidget
refWidget
tabWidget
titlePanel
tooltipWidget

Record

recordContainer

State

stateState

Visibility

hiddenWidget
isVisibleWidget

Widget hierarchy

ownerWidget
parentWidget
widgetMapContainer

Functions

78

Other

Shows an alert popup with a message. The returned promise resolves when the button is clicked.

ParameterTypeDescription
optionsObject

An options object for what to show.

options.modalBoolean

Set to false to not have the dialog be modal

options.titleString

The title to show in the dialog header.

options.messageString

The message to show in the dialog body.

options.rootElementString

The root element of this widget, defaults to document.body. Use this if you use the MessageDialog inside a web component ShadowRoot

options.okButtonString | ButtonConfig

A text or config object to apply to the OK button.

Returns: Promise -

A promise which is resolved when the dialog is closed

Shows a confirm dialog with "Ok" and "Cancel" buttons. The returned promise resolves passing the button identifier of the button that was pressed (okButton or cancelButton).

ParameterTypeDescription
optionsObject

An options object for what to show.

options.modalBoolean

Set to false to not have the dialog be modal

options.titleString

The title to show in the dialog header.

options.messageString

The message to show in the dialog body.

options.rootElementString

The root element of this widget, defaults to document.body. Use this if you use the MessageDialog inside a web component ShadowRoot

options.cancelButtonString | ButtonConfig

A text or a config object to apply to the Cancel button.

options.okButtonString | ButtonConfig

A text or config object to apply to the OK button.

Returns: Promise -

A promise which is resolved when the dialog is closed

Shows a popup with a basic TextField along with a message. The returned promise resolves when the dialog is closed and yields an Object with a button (okButton or cancelButton) and a text property with the text the user provided

ParameterTypeDescription
optionsObject

An options object for what to show.

options.modalBoolean

Set to false to not have the dialog be modal

options.titleString

The title to show in the dialog header.

options.messageString

The message to show in the dialog body.

options.rootElementString

The root element of this widget, defaults to document.body. Use this if you use the MessageDialog inside a web component ShadowRoot

options.textFieldTextFieldConfig

A config object to apply to the TextField.

options.cancelButtonString | ButtonConfig

A text or a config object to apply to the Cancel button.

options.okButtonString | ButtonConfig

A text or config object to apply to the OK button.

Returns: Promise -

A promise which is resolved when the dialog is closed. The promise yields an Object with a button (okButton or cancelButton) and a text property with the text the user provided

addContainer
closePopup
composeWidget
createOnFrameDelayable
disableWidget
enableWidget
focusWidget
getAtContainer
getWidgetByIdContainer
insertContainer
LstaticLocalizable
maskWidget
onEvents
recomposeWidget
relayAllEvents
removeContainer
removeAllContainer
resetValuesContainer
setValuesContainer
triggerEvents
unEvents
unmaskWidget

Configuration

applyDefaultsstaticBase

Events

Float & align

alignToWidget
setXYWidget
showByWidget
toFrontWidget

Lifecycle

createstaticWidget
destroystaticBase
initClassstaticWidget

Misc

attachTooltipstaticWidget
fromElementstaticWidget
fromSelectorstaticWidget
getByIdstaticWidget
isOfTypeNamestaticBase
mixinstaticBase
optionalLstaticLocalizable

State

Visibility

hideWidget
showWidget

Widget hierarchy

closestWidget
containsWidget
ownsWidget
queryWidget
queryAllWidget
upWidget

Events

22

Event handlers

22

Typedefs

7

CSS variables

62
NameDescription
--b-message-dialog-min-widthMessageDialog min-width
--b-message-dialog-button-min-widthMessageDialog button min-width