<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@friendlycaptcha/sdk](./sdk.md) &gt; [FRCWidgetResetEventData](./sdk.frcwidgetreseteventdata.md) &gt; [trigger](./sdk.frcwidgetreseteventdata.trigger.md)

## FRCWidgetResetEventData.trigger property

What caused the reset. Possible values: \* `"widget"`<!-- -->: reset initiated by the widget (`"widget"`<!-- -->), which generally means the user clicked the reset button within the widget. \* `"root"`<!-- -->: triggered by your own code on the current page (by calling `widget.reset()`<!-- -->). \* `"agent"`<!-- -->: triggered by the background agent (currently never happens).

**Signature:**

```typescript
trigger: WidgetResetTrigger;
```
