Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    properjs-scroll2public

    scroll2

    A basic scrollto function without all the fuss.

    Installation

    npm install properjs-scroll2 --save-dev

    Usage

    var scroll2 = require( "properjs-scroll2" );
     
    // Scroll vertical 
    scroll2({
        y: 1000,
        ease: Easing.easeOutCubic,
        duration: 600
    });
     
    // Scroll horizontal 
    scroll2({
        x: 1000,
        ease: Easing.easeOutCubic,
        duration: 600
    });

    install

    npm i properjs-scroll2

    Downloadsweekly downloads

    16

    version

    0.2.0

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar