Interface
The dialog json. Dialog is the synonym of the Window in UI.
Properties
| Property | Type | Notes |
|---|---|---|
alwaysShowConfirmation | boolean | Valid when confirmBeforeClose is true. Whether the confirmation window displays again or not after it is checked. |
blockPage | boolean | Whether to hide overlay and allow operation of functions behind the fixed window. Only valid for fixed window mode. |
border | BorderStyle | The dialog border style. |
borderRadius | FourSidesUnit | The dialog border radius. |
boxShadow | BoxShadowStyle | The dialog box shadow. |
closeWhenClickOverlay | boolean | Close dialog when clicking outside. |
confirmBeforeClose | boolean | Two interactions. Confirmation: true. Users must check the confirmation box before closing the dialog. "Don't show this again" option: false. It is optional. If checked, the window will not display again. |
dialogBackground | BackgroundStyle | The dialog background. |
effect | AnimationSetting | The animation for the entire dialog. |
icon | string | IconResult | The dialog icon. |
id | string | The dialog id. |
index | number | To distinct the display order for dialog list. Each mode, Fixed and Anchored, has its own order list starting with 0. |
interactionStyles | any | Details for interaction: checkbox text and font-size, button text and font-size. |
interactionType | DialogInteractionType | Interaction is valid when the dialog mode is FIXED. |
isSplash | boolean | If a dialog is a splash, the dialog will open automatically when the app get loaded. Only one fixed dialog can be set as splash. |
label | string | The dialog label. |
mode | DialogMode | The dialog mode. |
oneByOneEffect | AnimationSetting | The animation for all widgets inside the dialog. |
overlayColor | any | The dialog overlay color. |
preventDisplayAgain | boolean | The other interaction. Valid when dialog's mode is FIXED. Users must check the checkbox box before closing the dialog. The window will never display again |
sizeMode | { LARGE?: FixedPositionSizeJson; MEDIUM?: FixedPositionSizeJson; SMALL?: FixedPositionSizeJson } | The dialog size mode. |