Skip to main content
Version: v2

@friendlycaptcha/sdk > FRCWidgetResetEventData

FRCWidgetResetEventData interface

Payload of the "frc:widget.reset" event.

Signature:

export interface FRCWidgetResetEventData 

Properties

PropertyModifiersTypeDescription
idstringThe widget ID that the event originated from.
nametypeof FRCWidgetResetEventName"frc:widget.reset"
responsestringThe current frc-captcha-response value.
state"reset"
triggerWidgetResetTriggerWhat 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).