Skip to content

Commit

Permalink
[docs] Improve wording for animate docs (#6813)
Browse files Browse the repository at this point in the history
  • Loading branch information
Prinzhorn authored Oct 20, 2021
1 parent 76fa68d commit 6f8a6fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/content/docs/02-template-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ DOMRect {

---

An animation is triggered when the contents of a [keyed each block](docs#each) are re-ordered. Animations do not run when an element is removed, only when the each block's data is reordered. Animate directives must be on an element that is an *immediate* child of a keyed each block.
An animation is triggered when the contents of a [keyed each block](docs#each) are re-ordered. Animations do not run when an element is added or removed, only when the index of an existing data item within the each block changes. Animate directives must be on an element that is an *immediate* child of a keyed each block.

Animations can be used with Svelte's [built-in animation functions](docs#svelte_animate) or [custom animation functions](docs#Custom_animation_functions).

Expand Down

0 comments on commit 6f8a6fe

Please sign in to comment.