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