friendly-captcha-sdk > FRCWidgetResetEventData
FRCWidgetResetEventData interface
Payload of the "frc:widget.reset"
event.
Signature:
export interface FRCWidgetResetEventData
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
id | string | The widget ID that the event originated from. | |
name | typeof FRCWidgetResetEventName | "frc:widget.reset" | |
response | string | The current frc-captcha-response value. | |
state | "reset" | ||
trigger | WidgetResetTrigger | 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). |