Skip to main content
Version: v2

@friendlycaptcha/sdk > WidgetResetTrigger

WidgetResetTrigger type

What caused the widget to reset. * root: Code on the root page (= your website code or plugin) caused the reset. * widget: The reset came from the widget. The user likely clicked the reset button within the widget. * agent: The reset came from the agent - this currently does not happen but may in the future.

Signature:

export type WidgetResetTrigger = "widget" | "root" | "agent";