Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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.5

  • 1.0.5
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc