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

properjs-scroll2

0.2.0 • Public • Published

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

12

version

0.2.0

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar