JSPM

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

This is very easy and powerful parallax-scroller plugin. It has based on GSAP

Package Exports

  • gsap-easyparallax
  • gsap-easyparallax/dist/index.js

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 5.0

This is very easy and powerful parallax-scroller plugin. It has based on GSAP.

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
    }
});