Skip to content

Commit 3423bf6

Browse files
authored
add docs (#8326)
1 parent 79c64df commit 3423bf6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

site/content/docs/03-template-syntax.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1517,6 +1517,8 @@ The content is exposed in the child component using the `<slot>` element, which
15171517
</Widget>
15181518
```
15191519

1520+
Note: If you want to render regular `<slot>` element, You can use `<svelte:element this="slot" />`.
1521+
15201522
#### `<slot name="`*name*`">`
15211523

15221524
---

0 commit comments

Comments
 (0)