STRICH Barcode Scanning SDK API Reference
    Preparing search index...

    Interface Configuration

    BarcodeReader configuration object.

    interface Configuration {
        engine?: EngineConfiguration;
        feedback?: FeedbackConfiguration;
        frameSource?: FrameSourceConfiguration;
        locator?: LocatorConfiguration;
        mode?: "immediate" | "touch";
        overlay?: OverlayConfiguration;
        selector: string | HTMLElement | undefined;
    }
    Index

    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.

    immediate
    

    Overlay configuration

    selector: string | HTMLElement | undefined

    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, e.g. by using an ID. When using the popup scanner, do not pass a selector.