# vanilla-slider

> A super simple dependency-free slideshow. Made for ease of use.

Latest version **1.0.3** (published 2018-07-25) · ISC license · 0 weekly downloads

## Install

```sh
npm install vanilla-slider
pnpm add vanilla-slider
yarn add vanilla-slider
bun add vanilla-slider
```

## 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-07-25 |
| First published | 2018-07-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 2 |
| Maintainers | nosaj |

## Links

- npm: https://www.npmjs.com/package/vanilla-slider
- Repository: https://github.com/nosajio/vanilla-slider
- Homepage: https://github.com/nosajio/vanilla-slider#readme
- Issues: https://github.com/nosajio/vanilla-slider/issues
- npm.io page: https://npm.io/package/vanilla-slider

## Dependencies (1)

- [events](https://npm.io/package/events.md) ^3.0.0

## Recent versions

- 1.0.3 (latest) — 2018-07-25
- 1.0.2 — 2018-07-25
- 1.0.1 — 2018-07-25
- 1.0.0 — 2018-07-25

## README

# Vaniller JS Slider

A super simple dependency-free slideshow. Made for ease of use.


![Alt text](/examples/img/slide-gallery.gif?raw=true "Slideshow gallery example")


See examples directory for how to use.

## Events

```JS
  const gallery = new Slider(element);
  
  // Log the active slide on change
  gallery.on('change', e => console.log(e.element));

  // Log all slides after any interaction
  gallery.on('touch', e => console.log(e.slides));
```

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