A utilitie to have different scroll behaviors on your website
npm install @michvh-dev/scroll-behavior
npm i @michvh-dev/scroll-behavior -S
`$3
`
yarn add @michvh-dev//scroll-behavior
`Usage
`js
import ScrollBehavior from '@michvh-dev//scroll-behavior';const elements= document.querySelectorAll('.section');
new ScrollBehavior({
element: elements,
});
// or
new ScrollBehavior({
elementSelector: '.section',
});
``