Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 563528b

Browse files
authoredMar 5, 2025··
fix typo in api.md
1 parent 8f6324f commit 563528b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docs/api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
convert to a Web Component.
77
- `options` - An set of parameters.
88

9-
- `options.shadow` - ("open", "closed", undefind) Use the specified shadow DOM mode rather than light DOM.
9+
- `options.shadow` - ("open", "closed", or undefined) Use the specified shadow DOM mode rather than light DOM.
1010
- `options.events` - Array of camelCasedProps to dispatch as custom events or a Record of event names to their associated [Event constructor options](https://developer.mozilla.org/en-US/docs/Web/API/Event/Event#options).
1111
- When dispatching events from named properties, "on" is stripped from the beginning of the property name if present, and the result is lowercased: the property `onMyCustomEvent` dispatches as "mycustomevent".
1212
- `options.props` - Array of camelCasedProps to watch as String values or { [camelCasedProps]: "string" | "number" | "boolean" | "function" | "json" }

0 commit comments

Comments
 (0)
Please sign in to comment.