无缝上下滚动新闻的Vue组件,轻量级。
marquee for Vue.js, lighting, easy to use.
install
npm i vue-marquee-pro
use
import Vmarquee from "vue-marquee-pro";
<Vmarquee :datas="list" :height="34" />
list: [
{
title: "Already know HTML, CSS and JavaScript? Read the guide and start building things in no time!"
},
{
title: "An incrementally adoptable ecosystem that scales between a library and a full-featured framework."
},
{
title: "20KB min+gzip Runtime Blazing Fast Virtual DOM Minimal Optimization Efforts"
}
]