GoogleReCaptchaBadge

GoogleReCaptchaBadge

Badge component for Google reCAPTCHA in Vue applications

<GoogleReCaptchaBadge id badge theme language @change @error @expired @update />

Props

PropTypeRequiredDefaultDescription
idstring--Unique identifier for the badge container
badge'bottomright' | 'bottomleft' | 'inline'--Position of the reCAPTCHA badge
theme'light' | 'dark'--Theme of the reCAPTCHA badge
languagestring--Language code for the reCAPTCHA badge

Events

EventPayloadDescription
changestringEmitted when the user completes the challenge
error-Emitted when an error occurs
expired-Emitted when the challenge expires
update:tokenstringEmitted when the token is updated

Last updated on

On this page