vueアニメーションの回転を実現し、文字が回転せず、アニメーションの一時停止、実行
1346 ワード
vueはアニメーション回転(クラス名a-round)を実現し、文字は回転しない(クラス名round-item)
マウスを移動してアニメーションの一時停止を実現し、アニメーションの実行を実現する
この例は個人の総括で、転載は出典を明記してください
マウスを移動してアニメーションの一時停止を実現し、アニメーションの実行を実現する
この例は個人の総括で、転載は出典を明記してください
-
export default {
data() {
return {
animationShow:""
}
},
methods: {
mouseEnter() {
this.animationShow="paused"
},
mouseLeave() {
this.animationShow="running"
}
}
};