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 304d88e commit 930463aCopy full SHA for 930463a
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