Skip to content

Commit

Permalink
Add onBeforeToggle, shadowRootDelegatesFocus, shadowRootMode
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Nov 1, 2023
1 parent d31509d commit 4f47923
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ export const html = create({
onAuxClick: null,
onBeforeMatch: null,
onBeforePrint: null,
onBeforeToggle: null,
onBeforeUnload: null,
onBlur: null,
onCancel: null,
Expand Down Expand Up @@ -222,6 +223,8 @@ export const html = create({
scoped: boolean,
seamless: boolean,
selected: boolean,
shadowRootDelegatesFocus: boolean,
shadowRootMode: null,
shape: null,
size: number,
sizes: null,
Expand Down
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,7 @@ It also works in Deno and modern browsers.
| `onAuxClick` | `onauxclick` | `html` |
| `onBeforeMatch` | `onbeforematch` | `html` |
| `onBeforePrint` | `onbeforeprint` | `svg`, `html` |
| `onBeforeToggle` | `onbeforetoggle` | `html` |
| `onBeforeUnload` | `onbeforeunload` | `html` |
| `onBegin` | `onbegin` | `svg` |
| `onBlur` | `onblur` | `html` |
Expand Down Expand Up @@ -772,6 +773,8 @@ It also works in Deno and modern browsers.
| `security` | `security` | `html` |
| `seed` | `seed` | `svg` |
| `selected` | `selected` | `html` |
| `shadowRootDelegatesFocus` | `shadowrootdelegatesfocus` | `html` |
| `shadowRootMode` | `shadowrootmode` | `html` |
| `shape` | `shape` | `html` |
| `shapeRendering` | `shape-rendering` | `svg` |
| `side` | `side` | `svg` |
Expand Down

0 comments on commit 4f47923

Please sign in to comment.