Interface Configuration

BarcodeReader configuration object.

Hierarchy

  • Configuration

Properties

Engine configuration

Feedback configuration

Frame source configuration

Locator configuration

mode?: "immediate" | "touch"

Mode: can be 'immediate' (default) for always-on scanning, and 'touch', to only scan when a touch occurs.

Default

immediate

Overlay configuration

selector: string | HTMLElement

CSS Selector or reference to the HTML element that will host the visible elements of the BarcodeReader.

When using a selector, make sure the selector only matches a single element.

Generated using TypeDoc