Smooth Scroll to Top and Bottom.
Simple and Easy to use.
Pure JavaScript Library.
The source code is licensed MIT.
https://labs.manohara.info/lazyscroll/
https://labs.manohara.info/lazyscroll/
<script defer src='path/to/lazyScroll.js' id="script_lazyscroll"></script>
<script defer src='path/to/lazyScroll.js' id="script_lazyscroll" data-color="white" data-border="black" data-bordersize="10" data-size="33"></script>
data-color: Icon color,String (default: white)
data-border: Icon border color,String (default: black)
data-bordersize: Icon border width,Numeric (default(px): 10)
data-size: Icon size,Numeric (default(px): 33)
<script defer src='https://cdnjs.cloudflare.com/ajax/libs/iamdustan-smoothscroll/0.4.0/smoothscroll.min.js'></script>