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: docs/api.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
convert to a Web Component.
7
7
-`options` - An set of parameters.
8
8
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.
10
10
-`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).
11
11
- 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".
12
12
-`options.props` - Array of camelCasedProps to watch as String values or { [camelCasedProps]: "string" | "number" | "boolean" | "function" | "json" }
0 commit comments