You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,17 +41,18 @@ Properties used to customise the rendering:
41
41
42
42
| Name | Type | Description |
43
43
|:---- | ---- | ------ |
44
-
| sitekey | string | The API client key |
44
+
| asyncScriptOnLoad | func |*optional* callback when the google recaptcha script has been loaded |
45
+
| badge | enum |*optional*`bottomright`, `bottomleft` or `inline`. Positions reCAPTCHA badge. *Only for invisible reCAPTCHA*|
46
+
| hl | string |*optional* set the hl parameter, which allows the captcha to be used from different languages, see [reCAPTCHA hl]|
45
47
| onChange | func | The function to be called when the user successfully completes the captcha |
46
-
| theme | enum | *optional*`light` or `dark` The theme of the widget *(__defaults:__`light`)*. See [example][docs_theme]
47
-
| type | enum | *optional*`image` or `audio` The type of initial captcha *(__defaults:__`image`)*
48
-
| tabindex | number | *optional* The tabindex on the element *(__default:__`0`)*
49
-
| onExpired | func |*optional* callback when the challenge is expired and has to be redone by user. By default it will call the onChange with null to signify expired callback. |
50
48
| onErrored | func |*optional* callback when the challenge errored, most likely due to network issues. |
51
-
|stoken|string|*optional*set the stoken parameter, which allows the captcha to be used from different domains, see [reCAPTCHA secure-token]|
52
-
|hl| string |*optional* set the hl parameter, which allows the captcha to be used from different languages, see [reCAPTCHA hl]|
49
+
|onExpired|func|*optional*callback when the challenge is expired and has to be redone by user. By default it will call the onChange with null to signify expired callback.|
50
+
|sitekey| string |The API client key|
53
51
| size | enum |*optional*`compact`, `normal` or `invisible`. This allows you to change the size or do an invisible captcha |
54
-
| badge | enum |*optional*`bottomright`, `bottomleft` or `inline`. Positions reCAPTCHA badge. *Only for invisible reCAPTCHA*|
52
+
| stoken | string |*optional* set the stoken parameter, which allows the captcha to be used from different domains, see [reCAPTCHA secure-token]|
53
+
| tabindex | number | *optional* The tabindex on the element *(__default:__`0`)*
54
+
| type | enum | *optional*`image` or `audio` The type of initial captcha *(__defaults:__`image`)*
55
+
| theme | enum | *optional*`light` or `dark` The theme of the widget *(__defaults:__`light`)*. See [example][docs_theme]
0 commit comments