A Vue component to Marquee. Just used CSS3 animation.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist update and build Jan 10, 2019
public add files Nov 1, 2018
src
.browserslistrc add files Nov 1, 2018
.eslintrc.js
.gitignore
README.md
babel.config.js
index.js
package.json
postcss.config.js add files Nov 1, 2018
vue.config.js update and build Jan 10, 2019
yarn.lock

README.md

vue-text-marquee

Online Demo

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)