1.0.5 • Published 4 years ago

@vue_modules/vue-marquee-straight v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Feature

Image of Vue-marquee-straight

This is a vue-exclusive marquee component, which features an unlimited up and down carousel that will be connected end to end.

Usage

Basic

import and register components

import TheMarquee from '@vue_modules/vue-marquee-straight';
import '@vue_modules/vue-marquee-straight/marqueeBar.css';

export default {
    components: {
        TheMarquee
    }
};

Let's move

<TheMarquee>
    <template v-slot:childList>
        <div>The block you want to rotate</div>
    </template>
</TheMarquee>

Props

PropTypeDefaultValueDescription
directionStringup'up' or 'down'Decide the direction of rotation
speedNumber0-N ~ NRotation speed, positive number means acceleration, negative number means deceleration
1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago