capacitor-plugin-scanbot-barcode-scanner-sdk
    Preparing search index...

    Type Alias ScannerViewFrame

    Defines the position and size of the native scanner view, and controls its layering relative to the Capacitor web view.

    type ScannerViewFrame = {
        height?: number;
        sendToBack?: boolean;
        width?: number;
        x?: number;
        y?: number;
    }
    Index

    Properties

    height?: number

    The height of the view, in screen pixels. Default is the device screen height.

    sendToBack?: boolean

    Controls the z-ordering of the native scanner view relative to the Capacitor web view.

    • false (default) — The scanner view is rendered in front of the web view. Touch events are forwarded to the native view, but HTML elements cannot be overlaid on top of it.
    • true — The scanner view is rendered behind the web view. HTML elements can be overlaid on top of it, but touch events will not reach the native view.
    width?: number

    The width of the view, in screen pixels. Default is the device screen width.

    x?: number

    The x-coordinate of the view's origin point, in screen pixels. Default is 0.

    y?: number

    The y-coordinate of the view's origin point, in screen pixels. Default is 0.