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 through JavaScript, JSX, or your framework bindings (React, Vue, Angular, etc.). Avoid native HTML configuration with attributes (nombre-atributo="valor"), as it can lose the typing and 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.


Property compatibility and validation

Some properties have been renamed. The legacy name remains the primary 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 at the same time, the new one takes precedence 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