Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AnylineJSParams

Hierarchy

  • AnylineJSParams

Index

Properties

anylinePath?: string

anylinePath - Path to anylineJS data assets (defaults to cdn hosted assets)

config - AnylineJS configuration object

debugAnyline?: string | boolean

debugAnyline - Flag to output more verbose logs | pass 'screen' to additionally render logging overlay (beta)

element: HTMLElement

element - HTMLElement where anylineJS should be mounted into

flashOnResult?: boolean

Activate flash feedback on mobile devices.

hapticFeedback?: boolean

Activate haptic feedback on mobile devices.

landscapeOrientation?: LockOrientation

lockOrientation - If set locks the screen orientation to landscape and overrides 'lockPortraitOrientation'. (Android)

license: string

license - AnylineJS license string

lockPortraitOrientation?: LockOrientation

lockOrientation - If set locks the screen orientation to portrait. (Android)

preload?: boolean

preload - preloads the assets by a given preset (eg. 'barcode')

preset?: string

preset - Module preset

viewConfig?: ViewConfig

viewConfig - Appearance configuration of the cutout

wasmPath?: string

Path to the web assembly binary.

Methods

  • preloadCallback(): void
  • preloadCallback - set a callback to execute custom code after all assets were loaded. Callback will override the default behavior.

    Returns void

Generated using TypeDoc