Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-marqueeli

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-marqueeli

Vue 2.x无缝滚动插件,支持上下左右,可以自定义内容和样式

  • 1.1.5
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

下载

yarn add vue-marqueeli 

引入

import marqueeli from 'vue-marqueeli'
import 'vue-marqueeli/vue-marqueeli.css'

Vue.use(marqueeli);

使用

<marqueeView :height="90" >
            <marqueeItem><div>滚动内容一</div></marqueeItem>
            <marqueeItem><p>滚动内容2</p></marqueeItem>
            <marqueeItem><img src="@/assets/1.png" alt=""></marqueeItem>
            <marqueeItem><span>滚动内容4</span></marqueeItem>
            <marqueeItem><span>滚动内容5</span></marqueeItem>
            <marqueeItem><span>滚动内容6</span></marqueeItem>
            <marqueeItem><span>滚动内容7</span></marqueeItem>
</marqueeView>

参数说明

dir: {   //无缝滚动的方向
   type: String,
   default: 'top', //'top','down','left','right',
  },

  speedtime: {  //时间间隔
   type: Number,
   default: 40,
  },

  height: {   //容器高度 //当dir是‘left’,'right'时失效
   type: Number,
   default: 60,

  },

FAQs

Package last updated on 27 Oct 2022

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