1.0.10 • Published 2 years ago
@inc2734/smooth-scroll v1.0.10
@inc2734/smooth-scroll
Get started
Install
$ npm install --save-dev @inc2734/smooth-scroll
How to use
<script>
import { SmoothScroll } from '@inc2734/smooth-scroll';
new SmoothScroll(
{
selector: 'a[href^="#"]',
offset: 100,
}
);
</script>
License
MIT