npm i vue-text-marquee
import Vue from 'vue';
import VTextMarquee from 'vue-text-marquee';
Vue.use(VMarquee);
import { VTextMarquee } from 'vue-text-marquee';
export default {
component: {
VTextMarquee: VTextMarquee
}
}
speed
{Number}
, scrolling speed, default50
content
{String}
, scrolling content, you can also use default slot instead.animate
{Boolean}
, control the animation is running or pause, defaulttrue
.(Used css3'sanimation-play-state
)