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

pull/7738/head
mjvandermeulen 5 years ago committed by GitHub
parent f35f97dbc4
commit b1e684b9ca

@ -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. 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 ```html
<div transition:slide|local> <div transition:slide|local>

Loading…
Cancel
Save