Optional
detectionAn optional handler for detections.
Receives barcode detections and must return true
if scanning should stop, or false
if scanning should
continue. Any truthy value will be interpreted as true
.
An optional handler for detections.
Receives barcode detections and must return true
if scanning should stop, or false
if scanning should
continue. Any truthy value will be interpreted as true
.
Optional
feedbackOptional configuration for audible and haptic feedback.
Optional
labelsOptional overrides for textual content.
Optional
cancel?: stringThe text to display on the cancel button in the dialog bottom area.
If no value is supplied, a locale-dependent default text will be used.
Optional
title?: stringThe text to display in the dialog header area.
If no value is supplied, a locale-dependent default text will be used.
Optional
resolutionThe camera resolution to use.
full-hd
Optional
styleOptional overrides for title area and cancel button.
Optional
cancelBackground color to use for cancel button. Must be specified in rgb() or rgba() notation.
transparent
Optional
cancelColor to use for cancel button outline and text. Must be specified in rgb() or rgba() notation.
rgba(15,42,66,0.9)
Optional
titleBackground color to use for title. Must be specified in rgb() or rgba() notation.
rgba(15,42,66,0.9)
Optional
titleBackground color to use for title text. Must be specified in rgb() notation.
rgb(236,237,237)
The barcode symbologies that should be detected.
See EngineConfiguration#symbologies for details.
Generated using TypeDoc
Popup scanner configuration