@friendlycaptcha/sdk > WidgetHandle > destroy
WidgetHandle.destroy() method
Destroy the widget.
This removes the element
that the widget was mounted to as well as the hidden frc-captcha-response
form field.
Signature:
destroy(): void;
Returns:
void