For the complete documentation index, see llms.txt. This page is also available as Markdown.

Properties

Configuration properties of the SelphID Widget component.

These properties allow you to customize the behavior of the Document Capture Flow.

Constants and typing

SelphID offers types and constants to make implementation easier in typed environments.

import { CameraType, CameraPreferred } from '@facephi/selphid-web-component'

In React, the enum CameraPreferred (among others) is also exported from @facephi/sdk-web-react.

Recommendation: Configure the properties using JavaScript, JSX, or your framework bindings (React, Vue, Angular, etc.). Avoid native HTML configuration with attributes (nombre-atributo="valor"), since it can lose the typing and the format expected by the component.


SelphID Widget configuration properties

Capture

Extraction

Camera

Customization

Internal configuration

Video Recording

Developer tools

  • debug: Enables on-screen debugging mode.

  • showLog: Outputs detailed information to the console.


Compatibility and property validation

Some properties have been renamed. The legacy name remains the main one and works in this Version, while the new name is the recommended. Resolution rules:

  • Precedence: if you define both the legacy and the new name, the new wins and a precedence warning is emitted in the console.

  • Legacy only: using only the legacy name emits a deprecation warning in the console. The legacy name will be removed in the next major Version.

  • Unknown property: an unrecognized property is silently ignored always.

  • Validation (settingsStrictness, tolerant by default): in tolerant mode, an invalid value is replaced with its default value and a warning is emitted; in strict mode, it stops the SDK with a blocking error.

Last updated