1.0.4 • Published 3 years ago

vue3-infinite-slide-bar v1.0.4

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

vue3-infinite-slide-bar

Inspire by vue-infinite-slide-bar

Install

$ npm install vue3-infinite-slide-bar

or

$ yarn add vue3-infinite-slide-bar

Usage

<template>
    <infinite-slide-bar :barStyle="{ background: '#42b883', padding: '5px 0' }">
        <span style="color: #fff;">Helo World, I love Vue Infinite Slide Bar</span>
    </infinite-slide-bar>
</template>

<script>
import { defineComponent } from 'vue';
import InfiniteSlideBar from 'vue3-infinite-slide-bar;

export default defineComponent({
    components: {
        'infinite-slide-bar': InfiniteSlideBar
    }
})
</script>

️ Props

PropsTypeDefaultDescription
barStyleObject-Customize style of slide bar
durationString12sSpeed of animation
directionStringnormalDirection of animation (normal, reverse)
delayString0sDelay time before animation start
pausedBooleanfalseSpecifies whether the animation is paused or running

LICENSE

MIT

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago