# seamless-slider

> A seamless carousel plugin for Zepto & jQuery

Latest version **1.2.4** (published 2018-03-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install seamless-slider
pnpm add seamless-slider
yarn add seamless-slider
bun add seamless-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.2.4 |
| Published | 2018-03-29 |
| First published | 2018-03-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 84.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Daker |
| Maintainers | dakerplus |
| Keywords | zepto, jquery, seamless, slider |

## Links

- npm: https://www.npmjs.com/package/seamless-slider
- Repository: https://github.com/tony-cn/seamless-slider
- Homepage: https://github.com/tony-cn/seamless-slider/#README.md
- Issues: https://github.com/tony-cn/seamless-slider/issues
- npm.io page: https://npm.io/package/seamless-slider

## Dependencies (1)

- [lodash.throttle](https://npm.io/package/lodash.throttle.md) ^4.1.1

## Alternatives

- [gamedig](https://npm.io/package/gamedig.md) — 29.3K weekly downloads
- [join-monster](https://npm.io/package/join-monster.md) — 12.8K weekly downloads
- [masked](https://npm.io/package/masked.md) — 5.5K weekly downloads
- [@comunica/actor-query-process-explain-logical](https://npm.io/package/@comunica/actor-query-process-explain-logical.md) — 4.7K weekly downloads
- [@veracity/vui](https://npm.io/package/@veracity/vui.md) — 4.6K weekly downloads

## Recent versions

- 1.2.4 (latest) — 2018-03-29
- 1.2.3 — 2018-03-28
- 1.2.2 — 2018-03-28
- 1.2.1 — 2018-03-27
- 1.2.0 — 2018-03-27
- 1.1.0 — 2018-03-19
- 1.0.1 — 2018-03-17
- 1.0.0 — 2018-03-17

## README

# seamless-slider

seamless-slider is a carousel plugin for Zepto & jQuery

## Installation

Prerequisites:  
 - zepto 1.2.0 event fx touch / jQuery

## NPM

```
$ npm install seamless-slider -save 
```

## Usage

```html
<div id="slider-box">
    <div class="slider-item">1</div>
    <div class="slider-item">2</div>
    <div class="slider-item">3</div>
    <div class="slider-item">4</div>
</div>
```
```javascript
import Slider from 'seamless-slider'

const slider = new Slider('#slider-box', '.slider-item', {
    activeColor: 'rgb(45,45,45)'
})
```

## Props

| Name | Type | Default | Description |
| ---- | ---- | ------- | ----------- |
|activeColor|String|'#00BCD4'|Color of the current active indicator|
|autoPlay|Boolean|true|Whether to play automatically|
|autoPlayInterval|Number|2000|The number of milliseconds played automatically|
|autoautoPlayDir|String|'left'|Automatic play direction. Enumeration value: 'left', 'right'|
|controllers|Array|['indicator']|Controllers to be rendered. Controllers: 'indicator'|
|switchingInterval|Number|500|Interval for switching sliders|
|circulating|Boolean|true|Whether to loop|
|initIdx|Number|0|Initial display serial number|

# License
[MIT](LICENSE)

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