Optional
source: DeepPartial<SheetContent>Visibility of the barcode image in a barcode list entry.
true;
Configuration of the subtitle of a barcode list entry (displaying the barcode's symbology).
new StyledText({
"text": "BARCODE_SUBTITLE",
"color": "?sbColorOnSurfaceVariant"
});
Configuration of the title of a barcode list entry (displaying the barcode's value).
new StyledText({
"visible": true,
"text": "BARCODE_TITLE",
"color": "?sbColorOnSurface",
"useShadow": false
});
Configuration of the button for clearing the barcode list.
new ButtonConfiguration({
"visible": true,
"text": "Clear all",
"background": new BackgroundStyle({
"strokeColor": "#00000000",
"fillColor": "#00000000",
"strokeWidth": 1.0
}),
"foreground": new ForegroundStyle({
"iconVisible": false,
"color": "?sbColorOnSurface",
"useShadow": false
})
});
The color of the dividers in the list sheet.
"?sbColorOutline";
Color of the buttons for manually changing the barcode count.
"?sbColorPrimary";
Enables the user to change the number of scanned items by pressing +,-, or changing the number using a keyboard.
true;
The color of the outline of the manual counting buttons in the list sheet.
"?sbColorOutline";
Configuration of the icon displayed in an empty barcode list.
new IconStyle({
"visible": true,
"color": "?sbColorOnSurface"
});
Background color of the icon displayed in an empty barcode list.
"?sbColorOutline";
Configuration of the subtitle displayed in an empty barcode list.
new StyledText({
"text": "The barcode list is currently empty. Close this sheet and scan your items to add them.",
"color": "?sbColorOnSurfaceVariant"
});
Configuration of the title displayed in an empty barcode list.
new StyledText({
"text": "No barcodes here!",
"color": "?sbColorOnSurface"
});
Color of the list's background.
"?sbColorSurface";
Configuration of the button to start scanning displayed in an empty barcode list.
new ButtonConfiguration({
"visible": true,
"text": "Start scanning",
"background": new BackgroundStyle({
"strokeColor": "?sbColorPrimary",
"fillColor": "?sbColorPrimary",
"strokeWidth": 1.0
}),
"foreground": new ForegroundStyle({
"iconVisible": true,
"color": "?sbColorOnPrimary",
"useShadow": false
})
});
Configuration of the barcode list's submit button.
new ButtonConfiguration({
"visible": true,
"text": "Submit",
"background": new BackgroundStyle({
"strokeColor": "#00000000",
"fillColor": "#00000000",
"strokeWidth": 1.0
}),
"foreground": new ForegroundStyle({
"iconVisible": false,
"color": "?sbColorOnSurface",
"useShadow": false
})
});
The style of the swipe-to-delete button.
new SwipeToDelete({
"enabled": true,
"backgroundColor": "?sbColorNegative",
"iconColor": "?sbColorOnPrimary"
});
Configuration of the barcode list's title. By default displays the total number of scanned barcodes.
new StyledText({
"text": "%d items",
"color": "?sbColorOnSurface"
});
Generated using TypeDoc
Configuration of the list containing the barcodes that have already been scanned.