1.1.5 • Published 1 year ago

stextslide v1.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

STextSlide

Easy text slide for Vue

alt text

Installation

Install STextSlide with npm

  npm i stextslide

Usage/Examples

<StextSlide :words="words" :time="3000">
import { STextSlide } from 'stextslide'

export default {
    components:{
        STextSlide
    },
    data(){
        return{
            words:[
                { text: 'Text 1', color: '#F44336' },
                { text: 'Text 2', color: '#2196F3' },
                { text: 'Text 3', color: '#FFC107' }
            ]
        }
    }
}

Props

nametypedefaultdescription
wordsarray of word {text: required, color: optional }[]Array of word
timenumber3000Time of word interval in miliseconds
transitionstringdefaultSlide transition, can be default, slide-top-bottom, slide-bottom-top, slide-left-right, slide-right-left

License

MIT

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago