Skip to content

Commit edb5774

Browse files
authored
Update documentation/docs/03-template-syntax/[email protected]
1 parent cd11379 commit edb5774

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/docs/03-template-syntax/[email protected]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: {@attach ...}
44

55
Attachments are functions that run in an [effect]($effect) when an element is mounted to the DOM or when [state]($state) read inside the function updates.
66

7-
Optionally, they can return a function that is called when the element is later removed from the DOM.
7+
Optionally, they can return a function that is called before the attachment re-runs, or when the element is later removed from the DOM.
88

99
> [!NOTE]
1010
> Attachments are available in Svelte 5.29 and newer.

0 commit comments

Comments
 (0)