Skip to content

Commit e419207

Browse files
Update transition-group.md - add detail about prop moveClass (vuejs#3075)
* Update transition-group.md - add detail about prop moveClass * Update src/guide/built-ins/transition-group.md --------- Co-authored-by: Natalia Tepluhina <[email protected]>
1 parent cf84ce1 commit e419207

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ 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+
85+
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).
86+
8387
## Staggering List Transitions {#staggering-list-transitions}
8488

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