# vue-fade-images

> simple image slider for crossfading a sequence of images

Latest version **1.0.2** (published 2019-03-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-fade-images
pnpm add vue-fade-images
yarn add vue-fade-images
bun add vue-fade-images
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2019-03-27 |
| First published | 2019-03-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 13.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | igorbob |

## Links

- npm: https://www.npmjs.com/package/vue-fade-images
- Repository: https://github.com/igorbob/vue-fade-images
- Homepage: https://github.com/igorbob/vue-fade-images#readme
- Issues: https://github.com/igorbob/vue-fade-images/issues
- npm.io page: https://npm.io/package/vue-fade-images

## Recent versions

- 1.0.2 (latest) — 2019-03-27
- 1.0.1 — 2019-03-27
- 1.0.0 — 2019-03-27

## README

# vue-fade-images

Lightweight, easy to configure component for displaying a sequence of alternating image files.

## Install

Install using npm
```
npm install vue-fade-images
```


ES6/commonjs import
```
// ES6
import {FadeImages} from 'vue-fade-images';

// commonjs
var Swipe = require("vue-fade-images").fadeImages;
```

## Usage

After installation the module can be used as follows:
```
<template>
  <div>
    <fade-images :delay="2000" :width="400" :height="400"
                :images="images" />
  </div>
</template>

<script>
import FadeImages from '/vue-fade-images'

export default {
  data () {
    return {
      images: [
        {src: require("@/assets/img_1.png") },
        {src: require("@/assets/img_2.png") },
        {src: require("@/assets/img_3.png") }
      ]
    }
  },
  components: {
    FadeImages
  }
}
</script>
```
## Options

| Option  | Description |
| ------------- | ------------- |
| delay  | Number (default: 1000) in milliseconds |
| width  | Number (default: 200) in px |
| height | Number (default: 200) in px |
| images | Array , array of image sources |


## Built With

* [vue.js](https://vuejs.org/)

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