# v-easy-swiper

> a swiper plugin based on vue.js and scss

Latest version **1.0.0-beta1** (published 2017-05-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install v-easy-swiper
pnpm add v-easy-swiper
yarn add v-easy-swiper
bun add v-easy-swiper
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0-beta1 |
| Published | 2017-05-31 |
| First published | 2017-05-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 4.0.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | alex wen |
| Maintainers | wxhthx |
| Keywords | swiper, vue.js, scss |

## Links

- npm: https://www.npmjs.com/package/v-easy-swiper
- Repository: https://github.com/wxhthx/v-easy-swiper
- Homepage: https://github.com/wxhthx/v-easy-swiper#readme
- Issues: https://github.com/wxhthx/v-easy-swiper/issues
- npm.io page: https://npm.io/package/v-easy-swiper

## Alternatives

- [adhdev](https://npm.io/package/adhdev.md) — 11.1K weekly downloads
- [react-slide-button](https://npm.io/package/react-slide-button.md) — 310 weekly downloads
- [better](https://npm.io/package/better.md) — 42 weekly downloads
- [react-native-swipe-image](https://npm.io/package/react-native-swipe-image.md) — 22 weekly downloads
- [nl.fokkezb.pulltorefresh](https://npm.io/package/nl.fokkezb.pulltorefresh.md) — 11 weekly downloads

## Recent versions

- 1.0.0-beta1 (latest) — 2017-05-31
- 1.0.0-beta0 — 2017-05-30
- 1.0.0 — 2017-05-30

## README

# v-easy-swiper

 swiper vue.js css3
---

## Intro
> v-easy-swiper is a vue plugin which based on vue.js and css3.It expressed a easier principle to compare with other similar plugins.Of course, it has a little disadvantages to wait you to discovry and update it with me.

## Live Demo
[Click me](https://wxhthx.github.io/v-easy-swiper/ "swiper") 

## Development Setup
``` bash
# install plugin
npm install 
# run example
npm run dev
```

## Usage
```bash
# NPM下载
npm install v-easy-swiper
```

```javascript
/**
* 全局引入
*/
import Vue from 'vue'
import EasySwiper from 'v-easy-swiper'
Vue.use(EasySwiper, {})
```

```JADE
// Alse you can choose origin html
<template lang="jade">
swiper(:images="swiperSrcs" v-bind:size="imgSize" v-on:clickimg="click_img")
</template>
```

```javascript
/**
* component config
*/
<script>
import a from 'images/1.jpg'
import b from 'images/2.jpg'
import c from 'images/3.jpg'
export default {
    data () {
        return {
        swiperSrcs: [
            {src: a},
            {src: b},
            {src: c}
        ],
        imgSize: {
            width: 520,
            height: 280
        }
        }
    },
    methods: {
        /**
        * current image click event
        */
        click_img: function (index) {
            console.log('current image index is:' + index)
        }
    }
}
<script>
```

## License
MIT

---
_Source: https://npm.io/package/v-easy-swiper · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
