Skip to content

Commit 10f2258

Browse files
committed
docs: remove the tip class to make the content into the flow
1 parent e2ecb64 commit 10f2258

File tree

6 files changed

+206
-2
lines changed

6 files changed

+206
-2
lines changed

.idea/misc.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vuejs.org.iml

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

+172
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/v2/guide/transitions.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -569,8 +569,6 @@ By default, this will use the transitions specified for entering and leaving. If
569569

570570
and custom JavaScript hooks:
571571

572-
<p class="tip">Both `appear` attribute and `v-on:appear` hook will cause an appear transition. Compared to `appear` attribute, `v-on:appear` hook has a higher priority. If `v-on:appear` hook is specified, using `:appear="false"` does not cancel the transition.</p>
573-
574572
``` html
575573
<transition
576574
appear
@@ -583,6 +581,8 @@ and custom JavaScript hooks:
583581
</transition>
584582
```
585583

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

588588
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)