For the complete documentation index, see llms.txt. This page is also available as Markdown.

userCancel

The user closed the component.

Details

The user has closed the widget before completing the extraction process.

Event: userCancel

Type: CustomEvent

Syntax

videoId.addEventListener('userCancel', onUserCancel);

Description

This event is emitted when the user presses the cross button to close the component and finishes the capture process.


Example

<facephi-video-id
    onUserCancel={() => {
        console.log('The capture process has been cancelled');
    }}
/>

Last updated