@inotom/smoothscroll
v2.2.0
Published
Smooth scrolling fragment links.
Downloads
3
Readme
@inotom/smoothscroll
Smooth scrolling fragment links.
Demo
Install
npm
npm install -D @inotom/smoothscroll
Usage
Browser
<script src="smoothscroll.min.js"></script>
<script>
SmoothScroll.smoothScroll();
</script>
ES module
import { smoothScroll } from '@inotom/smoothscroll';
window.addEventListener('load', () => {
smoothScroll();
});
License
MIT
Author
inotom