smooth-scroll-page

1.0.0 • Public • Published

#Smooth-scroll-page A way too smoothly scroll through a web page with minimal effort

##Using In order to use the package you have to:

  1. Download the index.js file
  2. Place it somewhere in your project directory
  3. Import it in your html file <script src="scroll.js"></script>
  4. Add another script tag/file with following code inside smoothScroll.init('sectionClassName', 'linkClassName') Where 1. sectionClassName has to equal name of the class all sections you want to scroll through have in common 2. linkClassName has to equal name of the class all anchor links to your scroll sections have in common(optional)

Readme

Keywords

Package Sidebar

Install

npm i smooth-scroll-page

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

4.78 kB

Total Files

3

Last publish

Collaborators

  • losbiw