JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q20811F
  • License MIT

This is very easy and powerfull parallax-scroller plugin. It has based on Greensock animation system.

Package Exports

  • gsap-easyparallax

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gsap-easyparallax) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

EasyParallaxPlugin 4.0

This is very easy and powerfull parallax-scroller plugin. It has based on Greensock animation system.

How to use

import EasyParallax from 'gsap-easyparallax';

var easyParallax = new EasyParallax({
    mainContainer         : '#site',
    customScroll          : true,
    customScrollContainer : '#drag-container',
    customScrollProgress  : '.drag-elem',
    customScrollBar       : '.drag-bar',
    pagingClass: '.paging',
    animation: function() {
        //GSAP Time Line Animation
    }
});