A Vue component to Marquee use CSS3 animation

vue-text-marquee

A Vue component to Marquee. Just used CSS3 animation.

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.

GitHub