Socket
Socket
Sign inDemoInstall

vue-marquee-lite

Package Overview
Dependencies
309
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    vue-marquee-lite


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

vue-marquee-lite

前言

基于vue跑马灯。

Project setup

yarn install vue-marquee-lite

需要用到该组件时可以这样引入

<template>
    <div>
        <vue-marquee-lite
          className="paomadeng"
          :data="list"
        />
    </div>
</template>
<script>
import Vue from 'vue';
import vueMarquee from 'vue-marquee-lite';
import 'vue-marquee-lite/lib/vue-marquee-lite.css'
Vue.use(vueMarquee);
</script>

属性设置

duration  控制速率 //默认 50

className 自定义class名 //默认 marquee-wrapper

space 可控制和下个列表的间距 // 默认 0

type  动画方式 transform / position // 默认transform

Keywords

FAQs

Last updated on 22 Oct 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc