> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/sdk-web/componentes/videoid-identificacion-en-video/eventos/widgetloaded.md).

# widgetLoaded

## Details

The Widget has finished loading and is ready to use.

**Event:** `widgetLoaded`

**Type:** `CustomEvent`

### Syntax

```typescript
videoId.addEventListener('widgetLoaded', onWidgetLoaded);
```

## Description

This event is emitted when the component has finished loading and is ready to begin the capture process.

***

## Example

```jsx
<facephi-video-id
    onWidgetLoaded={() => {
        console.log('VideoID is fully loaded');
    }}
/>
```
