A Vue components about image scroll from 163-music
npm install vue-image-scroll
npm install vue-image-scroll
`
$3
`
git clone https://github.com/ShanaMaid/vue-image-scroll.git
#安装依赖
npm install
#启动
npm run dev
`
Usage
`
`
Update
- finish basics
- image add tagName and tagStyle
Opitions
$3
| Props | Type | Default | Description |
|-----------|---------|---------|-------------|
|styleObject| Object | {width:'750',height:'240'}|scroll box style,please use lower camel case, eg: background-color => backgroundColor|
|image | Array | null | imgae source path ,tagName,tagStyle; length >= 3|
|interval | Integer | 2000 | unit: ms, rolling interval |
|imgStyle | Object | null | image style, the same as styleObject |
|autoRoll | Boolean | true | true or false |
|direction | String | left | scroll direction, left or right` |