How to use the smooth-scrollbar.destroy function in smooth-scrollbar

To help you get started, we’ve selected a few smooth-scrollbar examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github BiserStoilov / scroll-animations / src / index.js View on Github external
destroy: () => {
                window.removeEventListener('resize', windowResize);
                Scrollbar.destroy(variables.element);
            },
            getScrollBar: () => {

smooth-scrollbar

Customize scrollbar in modern browsers with smooth scrolling experience.

MIT
Latest version published 3 months ago

Package Health Score

89 / 100
Full package analysis