open-index/open-npm huggingface dataset:
npm package: @shenluw/vue-roll
Description: 一个基于better-scroll实现的横向滚动图片容器
Author: shenluw
Latest version: 0.1.10

# vue-roll
一个基于better-scroll实现的横向滚动图片容器


## demo
![demo](https://gitee.com/luws/vue-roll/raw/master/examples/demo.gif)

## 使用方法
```vue
<vue-roll :images="imgs"
          :item-size="{height:'200px'}" >
</vue-roll>


<script>
import VueRoll from '@shenluw/vue-roll'

export default {
    name: 'demo',
    components: {
        VueRoll,
    },
    data() {
        return {
            imgs: ['img url', ...]
        }
    },
}
</script>

```