# @seolhun/vue-slide

> A Vue Slide Component to show Banners

Latest version **1.0.3** (published 2018-05-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install @seolhun/vue-slide
pnpm add @seolhun/vue-slide
yarn add @seolhun/vue-slide
bun add @seolhun/vue-slide
```

## 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.3 |
| Published | 2018-05-06 |
| First published | 2018-05-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 6.0.0 |
| Dependencies | 1 |
| Unpacked size | 184.1 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Seolhun |
| Maintainers | seolhun |
| Keywords | [Vue, Slide] |

## Links

- npm: https://www.npmjs.com/package/@seolhun/vue-slide
- Repository: https://github.com/Seolhun/vue-slide
- Homepage: https://github.com/Seolhun/vue-slide#readme
- Issues: https://github.com/Seolhun/vue-slide/issues
- npm.io page: https://npm.io/package/@seolhun/vue-slide

## Dependencies (1)

- [vue](https://npm.io/package/vue.md) ^2.5.2

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2018-05-06
- 1.0.2 — 2018-05-06
- 1.0.1 — 2018-05-06
- 1.0.0 — 2018-05-06

## README

# Vue-slide

> A Vue Slide Component to show Banners

## Installation
#### NPM

```bash
npm install @seolhun/vue-slide --save
```

## Register the component

```js
import SlideVue from '@seolhun/vue-slide'
```

```js
Vue.component('vue-slide', SlideVue);
```

## Usage

#### 1. Default items
```html
<!--
const banners = [
  {
    image: '',
    link: '',
  }, {
    image: '',
    link: '',
  },
]
-->
<vue-slide :items='banners'></vue-slide>
```

#### 2. Custom items
```html
<!--
const banners = [
  {
    img: '',
    url: '',
  }, {
    img: '',
    url: '',
  },
]
-->
<vue-slide :items='banners' :itemImageKey='img' :itemLinkKey='url'></vue-slide>
```

## Props
| Name | Type | Default | Description |
| ---:| --- | ---| --- |
| items | Array | [] | Items to be render in the Slide |
| itemImageKey | String | 'image' | Image key of items to show client |
| itemLinkKey | String | 'link' | Link key of items to show client |
| timeout | Number | 6000 | Automatically changed item on timeout |
| isAuto | Boolean | true | Whether used or not automatically changing item |
| isRepeat | Boolean | true | Whether used or not repetition when reached last item. |

<!-- | touch | Boolean | true | Whether used or not flip using touch action | -->

## Next Update List
- Mobile Break point prop will be added for custom.
- Touch prop will be added for mobile touch.

---
_Source: https://npm.io/package/@seolhun/vue-slide · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
