OptionalanylineOptionalconfigconfig - AnylineJS configuration object
OptionalcorrelationcorrelationId - UUIDv4 string to define user Correlation ID
OptionalcovercoverVideo - [default: true] Reverts a letterbox fix (not recommended to set to false)
OptionaldebugdebugAnyline - Flag to output more verbose logs | pass 'screen' to additionally render logging overlay (beta)
element - HTMLElement where anylineJS should be mounted into
OptionalenableenableCaching - [default: true] Enable caching mechanism for large binary data
OptionalestimateestimateMainCamera - [default: true] Flag to disable camera estimation (not recommended)
OptionalflashActivate flash feedback on mobile devices.
OptionalhapticActivate haptic feedback on mobile devices.
OptionalinitialinitialFlashOn - [default: false] starts scanning with camera flash state (only Android Chrome support)
OptionallandscapelockOrientation - If set locks the screen orientation to landscape and overrides 'lockPortraitOrientation'. (Android)
license - AnylineJS license string
OptionalloadingloadingScreen - HTML string to replace the default loader (<div>loading...</div>)
OptionallocklockOrientation - If set locks the screen orientation to portrait. (Android)
OptionalmediamediaConstraints - overwrite mediaConstraints of the camera feed (i.E to use a certain resolution or a specific camera)
OptionalmirrormirrorOnDesktop - (default: true) disable mirroring on desktop browsers (i.E if you are using a back-facing camera on desktop)
Optionalpreloadpreload - preloads the assets by a given preset (eg. 'barcode')
OptionalpreloadpreloadCallback - set a callback to execute custom code after all assets were loaded. Callback will override the default behavior.
Optionalpresetpreset - Module preset
OptionalretryretryCameraAccess - Flag if the system should retry camera access with fallback default media constraints
OptionalscalescaleDown - [default: false] Scales down the processed image for potential performance boost in a few use cases (barcode)
OptionalslowslowMessageTimeout - [default: 14000] Sets a timeout to start scanning
OptionalthrottlethrottleImagePass - throttle the time between processing images (in ms)
OptionaluseuseFullUrlBundleId - Flag to consider the whole url path as the bundleId (i.E example.com/apps/scanner vs. example.com)
OptionalvideovideoSrc - Https url pointing to a video stream to exchange the camera feed (for debugging, testing purposes)
OptionalviewviewConfig - Appearance configuration of the cutout
OptionalwasmPath to the web assembly binary.
anylinePath - Path to anylineJS data assets (defaults to cdn hosted assets)