Vue-router switching component page to enter the moving animation method

  • 的头像-Tumi
  • 37 day agopublish

 // use transition to switch the container of the component page   
Import header from'Export default {name: 'app', components: {header},}
// Animation .slide-fade {Position: absolute; left: 0; Right: 0;}. Slide-fade-enter-active {transition: all 1.2s ease;}. Slide-fade-leave-active {Transition: All .1s Cubic-Bezier (2.0, 0.5, 0.8, 1.0);}. slide-fade-enter, .slide-fade-leave-to {left: 0; Right: 0; Transform: Translatex (50px)
When this Vue-Router switches the component page, entering and exiting the animation method is the full content of Xiaobian sharing to everyone, hope I can give you a reference, I also hope that everyone will support Tumi Clouds.
© Copyright Notice
THE END
Just support it if you like
like0
share
comment Grab the couch

Please log in to comment