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.1
  • npm
  • Socket score

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

下载

npm i vue-marqueeli -S

引入

import marqueeli from '../marqueeli/vue-marqueeli.common.js'
import '../marqueeli/vue-marqueeli.css'
Vue.use(marqueeli);

使用

<marqueeView :height="90" >
            <marqueeItem><span>滚动内容一</span></marqueeItem>
            <marqueeItem><span>滚动内容2</span></marqueeItem>
            <marqueeItem><span>滚动内容3</span></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 18 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