Improved definition of "local transition"

The improved definition applied here is the result of the discussion started by this PR.
pull/6895/head
mjvandermeulen 5 years ago committed by GitHub
parent 1a1251c79b
commit 721a252d99
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. Local transitions only play when the block they belong to is created or removed, not when parent blocks are created 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