Configuration of the top screen bar's appearance.

Hierarchy

  • PartiallyConstructible
    • TopBarConfiguration

Constructors

Properties

backgroundColor: string

Background color of the top bar to be used when the visual mode is specified as SOLID. Otherwise ignored.

Default Value

"?sbColorPrimary";
cancelButton: ButtonConfiguration

Configuration of the cancel button's appearance.

Default Value

new ButtonConfiguration({
"text": "Cancel",
"background": new BackgroundStyle({
"strokeColor": "#00000000",
"fillColor": "#00000000",
"strokeWidth": 0.0
}),
"foreground": new ForegroundStyle({
"color": "?sbColorOnPrimary"
})
});

Visual mode used for the top bar.

Default Value

"SOLID";
title: StyledText

Appearance of the top bar's title.

Default Value

new StyledText({
"visible": false,
"text": "Scan Item",
"color": "?sbColorOnPrimary"
});

Generated using TypeDoc