# ease-parallax

> Attach parallax to any element of your page.

Latest version **1.0.2-beta** (published 2019-03-21) · ISC license · 0 weekly downloads

## Install

```sh
npm install ease-parallax
pnpm add ease-parallax
yarn add ease-parallax
bun add ease-parallax
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2-beta |
| Published | 2019-03-21 |
| First published | 2019-03-16 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 53.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Thomas Leperou |
| Maintainers | tleperou |

## Links

- npm: https://www.npmjs.com/package/ease-parallax
- npm.io page: https://npm.io/package/ease-parallax

## Recent versions

- 1.0.2-beta (latest) — 2019-03-21
- 1.0.1-beta — 2019-03-21
- 1.0.0-beta — 2019-03-16

## README

# ease-parallax

Attach parallax to any element of your page.


## How to use

1. import ease-parallax


``` import EaseParallax from 'ease-parallax' ```

Or

``` <script type="text/javascript" src="/lib/parallax.js"></script> ```



2. Instanciate EaseParallax

```
import EaseParallax from 'ease-parallax'

const myElement = document.getElementById('my-element')
const parallaxOnMyElement = new EaseParallax(myElement)

parallaxOnMyElement.start()
```

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