Configuration of the standard alert dialog.

Hierarchy

  • PartiallyConstructible
    • ScanbotAlertDialog

Constructors

Properties

actionButton: ButtonConfiguration

Configuration of the middle button for dialogs with tree buttons.

Default Value

new ButtonConfiguration({
"visible": false,
"background": new BackgroundStyle({
"strokeColor": "#00000000",
"fillColor": "#00000000",
"strokeWidth": 0.0
})
});
cancelButton: ButtonConfiguration

Configuration of the 'cancel' button.

Default Value

new ButtonConfiguration({
"visible": true,
"background": new BackgroundStyle({
"strokeColor": "#00000000",
"fillColor": "#00000000",
"strokeWidth": 0.0
})
});
dividerColor: string

The color of the divider line.

Default Value

"?sbColorOutline";
modalOverlayColor: string

The dialog overlay color.

Default Value

"?sbColorModalOverlay";

Configuration of the 'OK' button.

Default Value

new ButtonConfiguration({
"background": new BackgroundStyle({
"fillColor": "?sbColorPrimary"
})
});
sheetColor: string

The background color of the alert dialog.

Default Value

"?sbColorSurface";
subtitle: StyledText

The explanation message.

Default Value

new StyledText({
"text": "Standard explanation message text.",
"color": "?sbColorOnSurfaceVariant"
});
title: StyledText

The title displayed above the message.

Default Value

new StyledText({
"text": "Title",
"color": "?sbColorOnSurface"
});

Generated using TypeDoc