GoogleReCaptchaCheckbox

GoogleReCaptchaCheckbox

Checkbox component for Google reCAPTCHA v2 in Vue applications

<GoogleReCaptchaCheckbox
  id
  size
  theme
  language
  action
  @change
  @error
  @expired
  @update
/>

Props

PropTypeRequiredDefaultDescription
idstringYes-Unique identifier for the checkbox container
size'normal' | 'compact'--Size of the reCAPTCHA widget
theme'light' | 'dark'--Theme of the reCAPTCHA widget
languagestring--Language code for the reCAPTCHA widget
actionstring--Action name for the reCAPTCHA

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