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

marquee-vue

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

marquee-vue

A Vue Component to marquee

  • 1.0.7
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

marquee-vue


A Vue Component to marquee

Build Setup


# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

Usage


Install it via npm:

  • npm install --save marquee-vue

Example


note: the location of marquee-vue: "node_modules/marquee-vue/dist/marquee-vue.min.css "

<template>
  <div id="app">
    <div class="marquee-wrap" style="width: 80px;"><vue-marquee content="aaaaaaaaaaa" class="two"  :showtwo="false"></vue-marquee></div>
    <div class="marquee-wrap" style="width: 80px;"><vue-marquee content="bbbbbbbbbbb" class="two"  :showtwo="false"></vue-marquee></div>
    <div class="marquee-wrap" style="width: 100px;"><vue-marquee content="c" class="two"  :showtwo="false"></vue-marquee></div>
    <router-view></router-view>
  </div>
</template>

<script>

import MarqueeVue from 'marquee-vue';
import '../node_modules/marquee-vue/dist/marquee-vue.min.css'
export default {
  name: 'app',
  components:{
      "vue-marquee": MarqueeVue
    },
}
</script>

Props

content the text display in marquee

  • type: String
  • default: ""

speed the speed of scroll

  • default: 'middle'
  • type: String

showtwo

  • default: true
  • type: bool

FAQs

Package last updated on 01 Sep 2017

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