From 9f75dd81f679cafc8bd8e286b10bb19a0c91affe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Austin=20John=20Mayer=20=28=E4=BA=95=E4=B8=8A=20=E3=82=AA?= =?UTF-8?q?=E3=83=BC=E3=82=B9=E3=83=86=E3=82=A3=E3=83=B3=29?= <95405354+tronicboy1@users.noreply.github.com> Date: Tue, 11 Apr 2023 16:13:59 +0900 Subject: [PATCH] add notes --- site/content/docs/03-template-syntax.md | 1 + .../tutorial/16-special-elements/09-svelte-options/text.md | 1 + 2 files changed, 2 insertions(+) diff --git a/site/content/docs/03-template-syntax.md b/site/content/docs/03-template-syntax.md index 170c303b85..0610ed20a8 100644 --- a/site/content/docs/03-template-syntax.md +++ b/site/content/docs/03-template-syntax.md @@ -1826,6 +1826,7 @@ The `` 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 diff --git a/site/content/tutorial/16-special-elements/09-svelte-options/text.md b/site/content/tutorial/16-special-elements/09-svelte-options/text.md index 1a0105a09a..55d77bd692 100644 --- a/site/content/tutorial/16-special-elements/09-svelte-options/text.md +++ b/site/content/tutorial/16-special-elements/09-svelte-options/text.md @@ -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.