You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

vue-t-marquee

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-t-marquee

简单跑马灯1.0.6

1.0.6
latest
npmnpm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

npm-project

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

vue-t-marquee description

/*在入口文件中引入组件*/
_import TMarquee from 'vue-t-marquee'
import "vue-t-marquee/lib/vue-t-marquee.css"
Vue.use(TMarquee)_

/*引用*/
_<TMarquee :slidesPerView="4" :slideList="[1,2,3,4,5,6]">
  //自定义内容
  <div slot-scope="slotProps">{{slotProps.data}}</div>
</TMarquee>_

/*属性*/
direction     default:"right" type:String  滚动方向
slideList     default:[] type:Array    跑马灯数据
slidesPerView default:1  type:Number   当前视窗显示slide的个数(ps:每个slide的宽度会根据slidePerView进行自动计算)
animationDuration  default:10 type:Number  动画的速度 单位毫秒

Customize configuration

See Configuration Reference.

FAQs

Package last updated on 23 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts