# jimdash-slider

> js snippet for fading slides

Latest version **0.1.0** (published 2016-08-04) · ISC license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2016-08-04 |
| First published | 2016-08-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 12 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| Author | Jimdo GmbH |
| Maintainers | jimnpm |

## Links

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

## Dependencies (12)

- [babel](https://npm.io/package/babel.md) ^6.5.2
- [domready](https://npm.io/package/domready.md) ^1.0.8
- [node-sass](https://npm.io/package/node-sass.md) ^3.8.0
- [babel-core](https://npm.io/package/babel-core.md) ^6.8.0
- [css-loader](https://npm.io/package/css-loader.md) ^0.23.1
- [sass-loader](https://npm.io/package/sass-loader.md) ^4.0.0
- [babel-loader](https://npm.io/package/babel-loader.md) ^6.2.4
- [style-loader](https://npm.io/package/style-loader.md) ^0.13.1
- [babel-polyfill](https://npm.io/package/babel-polyfill.md) ^6.9.1
- [babel-register](https://npm.io/package/babel-register.md) ^6.8.0
- [postcss-loader](https://npm.io/package/postcss-loader.md) ^0.9.1
- [babel-preset-es2015](https://npm.io/package/babel-preset-es2015.md) ^6.6.0

## Recent versions

- 0.1.0 (latest) — 2016-08-04
- 0.0.1 — 2016-08-04

## README

# jimdash-slider
> js snippet to fade slides

# Usage

Use npm and module bundler like Webpack to use it or
download the JS file and add it to your project as a script tag.

Use this html snippet to run the slider:

```html
<div class="slides jimdash-slider">
  <div class="slide slide--one" data-duration-time="4000"></div>
  <div class="slide slide--two" data-duration-time="4000"></div>
  <div class="slide slide--three"></div>
</div>
```

## Notes
* Only the class `jimdash-slider` is needed for the JS. Everything around
can be written with your preferences ;)

* the slider will add the class `jimdash-slider__slide--active` to the active slide.

* it provides classes to adjust the transition time. Just add the class
to the main container, for example:

  ```html
  <div class="slides jimdash-slider jimdash-slider--transition-time-1000">
    ...
  </div>
  ```

  Possible classes:
  * `jimdash-slider--transition-time-1000`
  * `jimdash-slider--transition-time-1500`
  * `jimdash-slider--transition-time-2000`
  * `jimdash-slider--transition-time-2500`
* every active slide dispatch an event called `jimdashSliderActiveSlide`

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