pull/8473/head
Austin John Mayer (井上 オースティン) 3 years ago
parent 38da3d265b
commit 9f75dd81f6

@ -1826,6 +1826,7 @@ The `<svelte:options>` element provides a place to specify per-component compile
* `accessors={false}` — the default
* `namespace="..."` — the namespace where this component will be used, most commonly "svg"; use the "foreign" namespace to opt out of case-insensitive attribute names and HTML-specific warnings
* `tag="..."` — the name to use when compiling this component as a custom element
* `elementInternals` - adds formAssociated static property for custom elements to participate in forms
```sv
<svelte:options tag="my-custom-element"/>

@ -26,5 +26,6 @@ The options that can be set here are:
* `accessors={false}` — the default
* `namespace="..."` — the namespace where this component will be used, most commonly `"svg"`
* `tag="..."` — the name to use when compiling this component as a custom element
* `elementInternals` - adds formAssociated static property for custom elements to participate in forms
Consult the [API reference](/docs) for more information on these options.

Loading…
Cancel
Save