ChallengeV3 v3
Create reCAPTCHA v3 challenge
Props
key | type | default | description |
---|---|---|---|
action | string | The action for reCAPTCHA v3 | |
as | string | 'div' | What element to render |
autoExecute | boolean | true | Should vue-recaptcha execute challenge on click, if you set it to false you'll need to call the execute method in the slot |
v-model
key | type | description |
---|---|---|
modelValue | string | The reCAPTCHA response |
Slots
default
This is the position that usually place a your submit button. When click on the content, ChallengeV3
will automatically execute the reCAPTCHA challenge by default
Slot API
interface SlotApi {
/**
* reCAPTCHA v3 response
*/
response: string | undefined
/**
* execute reCAPTCHA v3 challenge
*/
execute: () => Promise<string>
}