# vue-image-scroll **Repository Path**: clattanoia/vue-image-scroll ## Basic Information - **Project Name**: vue-image-scroll - **Description**: 一个模仿网易云音乐的vue图片滚动插件 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-03-22 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue-image-scroll [![build](https://img.shields.io/wercker/ci/wercker/docs.svg)](https://github.com/ShanaMaid/vue-image-scroll) [![build](https://img.shields.io/badge/npm-1.0.2-blue.svg)](https://github.com/ShanaMaid/vue-image-scroll) [![build](https://img.shields.io/npm/l/express.svg)](https://github.com/ShanaMaid/vue-image-scroll) 一个模仿网易云音乐的vue图片滚动插件 [Live Demos](http://blog.shanamaid.top/vue-image-scroll/example) [Documention](http://blog.shanamaid.top/vue-image-scroll/example) based on vue 2.0 ## Install ``` npm install vue-image-scroll ``` ### Local ``` 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 ### Props | 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` | ## To do - [x] Basics - [x] add tag for image more!! ## License [MIT](https://github.com/ShanaMaid/vue-image-scroll/blob/master/LICENSE)