Skip to content

kitajchuk/JScroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JScroll

A smooth scroll JS library.

Attribution

This is a spiritual "fork" of JScroll by Jesper Landberg. Here the library is reusable and is actively being enhanced. For instance, I have already added a JScroll.scrollTo method to the utility.

Installation

npm install properjs-jscroll --save-dev

Usage

You will need to add a js-smooth class to your main container and a js-smooth-section class to any elements you want to be smooth.

import JScroll from "properjs-jscroll";

const jscroll = new JScroll({
    scrollbar: true
});

About

A smooth scroll JS library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published