过渡动画transition

vue会为transition包裹的div动态的添加class

image.png

  • v-enter :显示之前
  • v-enter-to:显示之后
  • v-enter-active:显示过程
  • v-leave:隐藏之前
  • v-laave-to:隐藏之后
  • v-leave-active:隐藏过程

评论

暂无评论