0.2.6 • Published 6 months ago

@types/hcaptcha__vue-hcaptcha v0.2.6

Weekly downloads
84
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/hcaptcha__vue-hcaptcha

Summary

This package contains type definitions for @hcaptcha/vue-hcaptcha (https://github.com/hCaptcha/vue-hcaptcha).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hcaptcha__vue-hcaptcha.

index.d.ts

// Type definitions for @hcaptcha/vue-hcaptcha 0.2
// Project: https://github.com/hCaptcha/vue-hcaptcha
// Definitions by: George Pickering <https://github.com/geopic>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.8

import { VueConstructor } from 'vue';
export const h: HCaptcha;
export default h;

export interface HCaptchaProps {
  sitekey: string;
  theme?: string | undefined;
  size?: string | undefined;
  tabindex?: string | undefined;
}

export interface HCaptchaMethods {
  onloadScript(): void;
  onError(e: Error): void;
  onVerify(response: string): void;
  onExpired(): void;
  execute(): void;
  reset(): void;
}

export interface HCaptcha extends VueConstructor {
  props: HCaptchaProps;
  data: any;
  methods: HCaptchaMethods;
}

Additional Details

  • Last updated: Thu, 08 Jul 2021 14:22:48 GMT
  • Dependencies: @types/vue
  • Global values: none

Credits

These definitions were written by George Pickering.

0.2.6

6 months ago

0.2.3

8 months ago

0.2.5

7 months ago

0.2.4

7 months ago

0.2.2

3 years ago

0.2.1

4 years ago

0.2.0

4 years ago