Optional
anylineOptional
configconfig - AnylineJS configuration object
Optional
correlationcorrelationId - UUIDv4 string to define user Correlation ID
Optional
covercoverVideo - [default: true] Reverts a letterbox fix (not recommended to set to false)
Optional
debugdebugAnyline - Flag to output more verbose logs | pass 'screen' to additionally render logging overlay (beta)
element - HTMLElement where anylineJS should be mounted into
Optional
enableenableCaching - [default: true] Enable caching mechanism for large binary data
Optional
estimateestimateMainCamera - [default: true] Flag to disable camera estimation (not recommended)
Optional
flashActivate flash feedback on mobile devices.
Optional
hapticActivate haptic feedback on mobile devices.
Optional
initialinitialFlashOn - [default: false] starts scanning with camera flash state (only Android Chrome support)
Optional
landscapelockOrientation - If set locks the screen orientation to landscape and overrides 'lockPortraitOrientation'. (Android)
license - AnylineJS license string
Optional
loadingloadingScreen - HTML string to replace the default loader (<div>loading...</div>
)
Optional
locklockOrientation - If set locks the screen orientation to portrait. (Android)
Optional
mediamediaConstraints - overwrite mediaConstraints of the camera feed (i.E to use a certain resolution or a specific camera)
Optional
mirrormirrorOnDesktop - (default: true) disable mirroring on desktop browsers (i.E if you are using a back-facing camera on desktop)
Optional
preloadpreload - preloads the assets by a given preset (eg. 'barcode')
Optional
preloadpreloadCallback - set a callback to execute custom code after all assets were loaded. Callback will override the default behavior.
Optional
presetpreset - Module preset
Optional
retryretryCameraAccess - Flag if the system should retry camera access with fallback default media constraints
Optional
scalescaleDown - [default: false] Scales down the processed image for potential performance boost in a few use cases (barcode)
Optional
slowslowMessageTimeout - [default: 14000] Sets a timeout to start scanning
Optional
throttlethrottleImagePass - throttle the time between processing images (in ms)
Optional
useuseFullUrlBundleId - Flag to consider the whole url path as the bundleId (i.E example.com/apps/scanner vs. example.com)
Optional
videovideoSrc - Https url pointing to a video stream to exchange the camera feed (for debugging, testing purposes)
Optional
viewviewConfig - Appearance configuration of the cutout
Optional
wasmPath to the web assembly binary.
anylinePath - Path to anylineJS data assets (defaults to cdn hosted assets)