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

vue-marquee-lite

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-marquee-lite

  • 0.1.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
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

Package last updated on 22 Oct 2018

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