Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 642 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 642 Bytes

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