1.0.0 • Published 3 years ago

smooth-scroll-page v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

#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 1. Place it somewhere in your project directory 1. Import it in your html file <script src="scroll.js"></script> 1. 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)

1.0.0

3 years ago