Skip to content

satrong/vue-text-marquee

Repository files navigation

vue-text-marquee

Online Demo

Install

npm i vue-text-marquee

Global Usage

import Vue from 'vue';
import VTextMarquee from 'vue-text-marquee';
Vue.use(VMarquee);

Use in .vue file

import { VTextMarquee } from 'vue-text-marquee';
export default {
    component: {
        VTextMarquee: VTextMarquee
    }
}

Prop

  • speed {Number} , scrolling speed, default 50
  • content {String} , scrolling content, you can also use default slot instead.
  • animate {Boolean} , control the animation is running or pause, default true.(Used css3's animation-play-state)

About

A Vue component to Marquee. Just used CSS3 animation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published