[docs] clarified definition of "local transition" in tutorial (#6895)

pull/6966/head
mjvandermeulen 3 years ago committed by GitHub
parent 4018b548f3
commit 81fc3f898a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6,7 +6,7 @@ Ordinarily, transitions will play on elements when any container block is added
Instead, we'd like transitions to play only when individual items are added and removed — in other words, when the user drags the slider.
We can achieve this with a *local* transition, which only plays when the immediate parent block is added or removed:
We can achieve this with a *local* transition, which only plays when the block with the transition itself is added or removed:
```html
<div transition:slide|local>

Loading…
Cancel
Save