Skip to main content
Version: v2

@friendlycaptcha/sdk > FRCWidgetResetEventData > trigger

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:

trigger: WidgetResetTrigger;