Skip to content

Commit 5e74680

Browse files
authored
Update option example for Svelte 4 (#496)
1 parent 3a866d8 commit 5e74680

File tree

1 file changed

+1
-1
lines changed
  • content/tutorial/02-advanced-svelte/09-special-elements/09-svelte-options

1 file changed

+1
-1
lines changed

content/tutorial/02-advanced-svelte/09-special-elements/09-svelte-options/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ The options that can be set here are:
2626
- `accessors={true}` — adds getters and setters for the component's props
2727
- `accessors={false}` — the default
2828
- `namespace="..."` — the namespace where this component will be used, most commonly `"svg"`
29-
- `tag="..."` — the name to use when compiling this component as a custom element
29+
- `customElement="..."` — the name to use when compiling this component as a custom element
3030

3131
Consult the [API reference](https://svelte.dev/docs) for more information on these options.

0 commit comments

Comments
 (0)