Events
Events emitted by the VideoID Widget component.
Last updated
Events emitted by the VideoID Widget component.
The VideoID component emits events during its lifecycle so that the different scenarios can be controlled.
const widgetRef = document.querySelector('facephi-video-id-widget');
widgetRef.addEventListener('widgetLoaded', handleWidgetLoaded);
function handleWidgetLoaded() {
console.info('The component is fully loaded and running');
}widgetLoaded: The Widget has finished loading and is ready to use.
extractionFinish: The Widget has completed extraction successfully.
userCancel: The user has closed the Widget before the extraction process finished.
extractionTimeout: The extraction time limit has been exceeded.
exceptionCaptured: An error occurred during the capture process.
Last updated