We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
this
svelte:element
1 parent 551284c commit 8731f4fCopy full SHA for 8731f4f
documentation/docs/05-special-elements/05-svelte-element.md
@@ -29,3 +29,5 @@ Svelte tries its best to infer the correct namespace from the element's surround
29
```svelte
30
<svelte:element this={tag} xmlns="http://www.w3.org/2000/svg" />
31
```
32
+
33
+`this` needs to be a valid DOM element tag, things like `#text` or `svelte:head` will not work.
0 commit comments