[docs] Improve wording for `animate` docs (#6813)

pull/6867/head
Alexander Prinzhorn 3 years ago committed by GitHub
parent 76fa68d82f
commit 6f8a6fe90b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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).

Loading…
Cancel
Save