Skip to content

Commit fa60703

Browse files
authored
Update transitions-list.md (#785)
1 parent 0391e2e commit fa60703

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/guide/transitions-list.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ So what about for when we have a whole list of items we want to render simultane
1212
- Elements inside are **always required** to have a unique `key` attribute.
1313
- CSS transition classes will be applied to inner elements and not to the group/container itself.
1414

15-
### List Entering/Leaving Transitions
15+
## List Entering/Leaving Transitions
1616

1717
Now let's dive into an example, transitioning entering and leaving using the same CSS classes we've used previously:
1818

@@ -72,7 +72,7 @@ Vue.createApp(Demo).mount('#list-demo')
7272

7373
There's one problem with this example. When you add or remove an item, the ones around it instantly snap into their new place instead of smoothly transitioning. We'll fix that later.
7474

75-
### List Move Transitions
75+
## List Move Transitions
7676

7777
The `<transition-group>` component has another trick up its sleeve. It can not only animate entering and leaving, but also changes in position. The only new concept you need to know to use this feature is the addition of **the `v-move` class**, which is added when items are changing positions. Like the other classes, its prefix will match the value of a provided `name` attribute and you can also manually specify a class with the `move-class` attribute.
7878

@@ -190,7 +190,7 @@ These FLIP animations are also not limited to a single axis. Items in a multidim
190190

191191
TODO: example
192192

193-
### Staggering List Transitions
193+
## Staggering List Transitions
194194

195195
By communicating with JavaScript transitions through data attributes, it's also possible to stagger transitions in a list:
196196

0 commit comments

Comments
 (0)