Configuration of the 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

Color of the divider line.

Default Value

"?sbColorOutline";
modalOverlayColor: string

Dialog overlay color.

Default Value

"?sbColorModalOverlay";

Configuration of the retry button.

Default Value

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

Background color of the alert dialog.

Default Value

"?sbColorSurface";
subtitle: StyledText

Explanation message message.

Default Value

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

Title displayed above the message.

Default Value

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

Generated using TypeDoc