Skip to content

Commit eae4172

Browse files
authored
docs: loaded event (#16)
1 parent 702418d commit eae4172

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
# 1.1.4
4+
5+
- docs: 'loaded' event
6+
37
# 1.1.3
48

59
- docs: add "form integration" section

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ Depending on the use case, you can or not listen to the following events.
340340

341341
| Event | Params | Description |
342342
|----------------------|----------------|---------------------------------------------------------------------------|
343+
| `loaded` | - | When the hCaptcha loaded and is ready for challenge execution. Usually used in combination with size=invisible or when manual .execute() is required. |
343344
| `error` | `err` | When an error occurs. Component will reset immediately after an error. |
344345
| `verified` | `token, eKey` | When challenge is completed. The `token` and the `eKey` are passed along. |
345346
| `expired` | - | When the current token expires. |

packages/vanilla-hcaptcha/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@hcaptcha/vanilla-hcaptcha",
33
"description": "Vanilla Web Component for hCaptcha. 0 dependencies. <1kb gzipped.",
4-
"version": "1.1.3",
4+
"version": "1.1.4",
55
"main": "dist/index.min.js",
66
"module": "dist/index.min.mjs",
77
"types": "dist/hcaptcha.d.ts",

0 commit comments

Comments
 (0)