easy-parallax
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

Easy Parallax

Usage

Install npm / yarn package

$ npm install easy-parallax
$ yarn add easy-parallax

Create EasyParallax stage and add Parallax elements:

const stage = easyParallax(window)
const element = document.getElementById("#parallax")
stage.add(element, { speed: 0.5, type: 'scroll' })

Development

$ npm install --global gulp
$ gulp dist

The result is available in the dist/ folder.

License

MIT

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i easy-parallax

    Weekly Downloads

    1

    Version

    4.0.0

    License

    MIT

    Unpacked Size

    62.7 kB

    Total Files

    18

    Last publish

    Collaborators

    • tstrebitzer