Events
Events emitted by the SelphID Widget component
Event format
// Structure of the event received in <facephi-selphid-widget>
widgetEvent = {
detail: { // Internal CustomEvent forwarded by the wrapper
detail: { ... } // Real payload (ExtractionFinishDetail, etc.)
}
};
const payload = widgetEvent.detail.detail;Usage example
<facephi-selphid-widget
onExtractionFinish={(event) => {
const payload = event.detail.detail;
console.log('SELPHID RESULT:', payload);
}}
/>Events emitted by SelphID Widget
Extraction results
User interaction
Timers
Error handling
Extraction process
Last updated