try 用vuetify创建一个 carousel .通常,下一个项目和上一个项目从相反的方向滑入.在我的 carousel 中,我希望下一个和上一个项目从同一个方向滑动(都从左/都从右).我试了reverse-transition次,但失败了.
<template>
<v-app>
<v-container>
<v-carousel>
<v-carousel-item
v-for="i in 5"
src="https://cdn.vuetifyjs.com/images/cards/docks.jpg"
cover
reverse-transition="slide-x-transition"
></v-carousel-item>
</v-carousel>
</v-container>
</v-app>
</template>