1.0.1 • Published 4 years ago

vue-list-scroll v1.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

vue-list-scroll

A component for list scroll

use

import listScroll from 'vue-list-scroll';

this.$nextTick(()=>{
    new listScroll({
        ulDom: "your dom name",
        forward: "portrait",
        showItemCount: 1,
        interval: 2000
    });
});

params

{
    ulDom: 'your dom id',
    forward: 'portrait',   //portrait | horizontal
    showItemCount: 3,           
    interval: 4000,
}