userCancel
The user closed the component.
Last updated
The user closed the component.
The user has closed the widget before completing the extraction process.
Event: userCancel
Type: CustomEvent
videoId.addEventListener('userCancel', onUserCancel);This event is emitted when the user presses the cross button to close the component and finishes the capture process.
<facephi-video-id
onUserCancel={() => {
console.log('The capture process has been cancelled');
}}
/>Last updated