How to use the smooth-scrollbar.version 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.

github idiotWu / smooth-scrollbar / __demo__ / scripts / index.ts View on Github external
import Scrollbar from 'smooth-scrollbar';
import * as Prism from 'prismjs';
import 'prismjs/themes/prism.css';

import './monitor';
import './controller';
import '../styles/index.styl';

// for debug
(window as any).Scrollbar = Scrollbar;


(document.getElementById('version') as HTMLElement).textContent = Scrollbar.version;


Customize scrollbar in modern browsers with smooth scrolling experience.

Latest version published 9 days ago

Package Health Score

89 / 100
Full package analysis

Similar packages