UNPKG

vue3-recaptcha-v2

Version:

reCAPTCHA for Vue3 : CompositionAPI, Types

16 lines (15 loc) 457 B
export type InstallOptions = { sitekey?: string; cnDomains?: boolean; }; declare global { interface Window { grecaptcha?: { render: (container: HTMLElement, options: Record<string, unknown>) => number; reset: (widgetId: number) => void; getResponse: (widgetId: number) => string; execute: (widgetId: number) => string; ready: (callback: () => void) => void; }; } }