diff --git a/site/content/docs/02-template-syntax.md b/site/content/docs/02-template-syntax.md index 468ddc5ea8..76a28a6e12 100644 --- a/site/content/docs/02-template-syntax.md +++ b/site/content/docs/02-template-syntax.md @@ -1111,6 +1111,8 @@ The `` element provides a place to specify per-component compile * `immutable={true}` — you never use mutable data, so the compiler can do simple referential equality checks to determine if values have changed * `immutable={false}` — the default. Svelte will be more conservative about whether or not mutable objects have changed +* `accessors={true}` — adds getters and setters for the component's props +* `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 diff --git a/site/content/tutorial/16-special-elements/07-svelte-options/text.md b/site/content/tutorial/16-special-elements/07-svelte-options/text.md index 8452a29a60..91f08ce959 100644 --- a/site/content/tutorial/16-special-elements/07-svelte-options/text.md +++ b/site/content/tutorial/16-special-elements/07-svelte-options/text.md @@ -14,6 +14,8 @@ The options that can be set here are: * `immutable={true}` — you never use mutable data, so the compiler can do simple referential equality checks to determine if values have changed * `immutable={false}` — the default. Svelte will be more conservative about whether or not mutable objects have changed +* `accessors={true}` — adds getters and setters for the component's props +* `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