mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
Merge branch 'master' into rename-repo-url
This commit is contained in:
Vendored
+4
-4
@@ -5,7 +5,7 @@
|
||||
|
||||
declare var grecaptcha: ReCaptchaV2.ReCaptcha;
|
||||
|
||||
declare module ReCaptchaV2
|
||||
declare namespace ReCaptchaV2
|
||||
{
|
||||
class ReCaptcha
|
||||
{
|
||||
@@ -15,7 +15,7 @@ declare module ReCaptchaV2
|
||||
* @param parameters An object containing parameters as key=value pairs, for example, {"sitekey": "your_site_key", "theme": "light"}. See @see render parameters.
|
||||
* @return the ID of the newly created widget.
|
||||
**/
|
||||
render(container: (string | HTMLElement), parameters?: Parameters): number;
|
||||
render(container: (string | HTMLElement), parameters?: Parameters): number;
|
||||
/**
|
||||
* Resets the reCAPTCHA widget.
|
||||
* @param opt_widget_id Optional widget ID, defaults to the first widget created if unspecified.
|
||||
@@ -48,7 +48,7 @@ declare module ReCaptchaV2
|
||||
**/
|
||||
type?: string;
|
||||
/**
|
||||
* Optional. The tabindex of the widget and challenge.
|
||||
* Optional. The tabindex of the widget and challenge.
|
||||
* If other elements in your page use tabindex, it should be set to make user navigation easier.
|
||||
**/
|
||||
tabindex?: number;
|
||||
@@ -61,7 +61,7 @@ declare module ReCaptchaV2
|
||||
* Optional. Your callback function that's executed when the recaptcha response expires and the user needs to solve a new CAPTCHA.
|
||||
**/
|
||||
// Notice to the reader
|
||||
// I need to surround this object with quotes, this will however break intellisense in VS 2013.
|
||||
// I need to surround this object with quotes, this will however break intellisense in VS 2013.
|
||||
"expired-callback"?: () => void;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user