vue2运行安装
npm install vue-marquee-text-component@1.2.0
Name | 说明 | Description | Config |
---|---|---|---|
duration | 持续时间动画持续时间{类型:数字,默认值:15} | Animation Duration | { type: Number, default: 15 } |
repeat | repeat重复插槽的次数(缩短内容很重要){类型:Number,默认值:2} | Number of repeat the Slot (It's important for to short content) | { type: Number, default: 2 } |
paused | paused属性指定动画是正在运行还是已暂停{类型:布尔值,默认值:false} | The property specifies whether the animation is running or paused | { type: Boolean, default: false } |
reverse | reverse动画在每个循环中向后播放{类型:布尔值,默认值:false} | The animation plays backwards each cycle | { type: Boolean, default: false } |
演示站
vue-marquee-text-componenthttps://evodiaaut.github.io/vue-marquee-text-component/
GitHub地址
GitHub - EvodiaAut/vue-marquee-text-component: [CSS GPU Animation] Marquee Text for vuejs[CSS GPU Animation] Marquee Text for vuejs. Contribute to EvodiaAut/vue-marquee-text-component development by creating an account on GitHub.https://github.com/EvodiaAut/vue-marquee-text-component