Skip to content

Commit 81fc3f8

Browse files
[docs] clarified definition of "local transition" in tutorial (#6895)
1 parent 4018b54 commit 81fc3f8

File tree

1 file changed

+1
-1
lines changed
  • site/content/tutorial/10-transitions/07-local-transitions

1 file changed

+1
-1
lines changed

site/content/tutorial/10-transitions/07-local-transitions/text.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Ordinarily, transitions will play on elements when any container block is added
66

77
Instead, we'd like transitions to play only when individual items are added and removed — in other words, when the user drags the slider.
88

9-
We can achieve this with a *local* transition, which only plays when the immediate parent block is added or removed:
9+
We can achieve this with a *local* transition, which only plays when the block with the transition itself is added or removed:
1010

1111
```html
1212
<div transition:slide|local>

0 commit comments

Comments
 (0)