Skip to content

Commit 495f3df

Browse files
DaKoalasdras
authored andcommitted
docs: add a tip on using appear attribute and v-on:appear hook (#2140)
* docs: add a tip on using appear attribute and v-on:appear hook * docs: remove the tip class to make the content into the flow
1 parent 6790f51 commit 495f3df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/v2/guide/transitions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,8 @@ and custom JavaScript hooks:
581581
</transition>
582582
```
583583

584+
In the example above, either `appear` attribute or `v-on:appear` hook will cause an appear transition.
585+
584586
## Transitioning Between Elements
585587

586588
We discuss [transitioning between components](#Transitioning-Between-Components) later, but you can also transition between raw elements using `v-if`/`v-else`. One of the most common two-element transitions is between a list container and a message describing an empty list:

0 commit comments

Comments
 (0)