Skip to content

Commit d6af7bf

Browse files
authored
Update transition-group.md - add detail about prop moveClass
1 parent 78d61f2 commit d6af7bf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/guide/built-ins/transition-group.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ Now it looks much better - even animating smoothly when the whole list is shuffl
8080

8181
[Full Example](/examples/#list-transition)
8282

83+
### Custom TransitionGroup classes
84+
You can also specify custom transition classes for the moving element by passing the `moveClass` prop to `<TransitionGroup>`, just like [custom transition classes on `<Transition>`](https://vuejs.org/guide/built-ins/transition.html#custom-transition-classes).
85+
8386
## Staggering List Transitions {#staggering-list-transitions}
8487

8588
By communicating with JavaScript transitions through data attributes, it's also possible to stagger transitions in a list. First, we render the index of an item as a data attribute on the DOM element:

0 commit comments

Comments
 (0)