smooth-scroll-page
v1.0.0
Published
A way too smoothly scroll through a web page with minimal effort
Downloads
1
Readme
#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:
- Download the index.js file
- Place it somewhere in your project directory
- Import it in your html file
<script src="scroll.js"></script>
- 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)