Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
rpm-mcarman b9f7ec4306 First Commit il y a 3 ans
..
decorators First Commit il y a 3 ans
dist First Commit il y a 3 ans
events First Commit il y a 3 ans
geometry First Commit il y a 3 ans
interfaces First Commit il y a 3 ans
node_modules/core-js First Commit il y a 3 ans
plugins/overscroll First Commit il y a 3 ans
scrolling First Commit il y a 3 ans
src First Commit il y a 3 ans
track First Commit il y a 3 ans
utils First Commit il y a 3 ans
CHANGELOG.md First Commit il y a 3 ans
LICENSE First Commit il y a 3 ans
README.md First Commit il y a 3 ans
index.d.ts First Commit il y a 3 ans
index.js First Commit il y a 3 ans
index.js.map First Commit il y a 3 ans
options.d.ts First Commit il y a 3 ans
options.js First Commit il y a 3 ans
options.js.map First Commit il y a 3 ans
package.json First Commit il y a 3 ans
plugin.d.ts First Commit il y a 3 ans
plugin.js First Commit il y a 3 ans
plugin.js.map First Commit il y a 3 ans
polyfills.d.ts First Commit il y a 3 ans
polyfills.js First Commit il y a 3 ans
polyfills.js.map First Commit il y a 3 ans
scrollbar.d.ts First Commit il y a 3 ans
scrollbar.js First Commit il y a 3 ans
scrollbar.js.map First Commit il y a 3 ans
style.d.ts First Commit il y a 3 ans
style.js First Commit il y a 3 ans
style.js.map First Commit il y a 3 ans

README.md

Smooth Scrollbar

npm monthly downloads core size gzip size Build status

Customizable, Flexible, and High Performance Scrollbars!

Installation

⚠️ DO NOT use custom scrollbars unless you know what you are doing. Read more

Via NPM (recommended):

npm install smooth-scrollbar --save

Via Bower:

bower install smooth-scrollbar --save

Browser Compatibility

Browser Version
IE 10+
Chrome 22+
Firefox 16+
Safari 8+
Android Browser 4+
Chrome for Android 32+
iOS Safari 7+

Demo

https://idiotwu.github.io/smooth-scrollbar/

Usage

Since this package has a pkg.module field, it’s highly recommended to import it as an ES6 module with some bundlers like webpack or rollup:

import Scrollbar from 'smooth-scrollbar';

Scrollbar.init(document.querySelector('#my-scrollbar'));

If you are not using any bundlers, you can just load the UMD bundle:

<script src="dist/smooth-scrollbar.js"></script>

<script>
  var Scrollbar = window.Scrollbar;

  Scrollbar.init(document.querySelector('#my-scrollbar'));
</script>

Documentation

latest 7.x

Who’s Using It

  • conference.awwwards.com: Awwwards Conference - An Event for UX / UI Designers and Web Developers.
  • lp.anzi.kr: Listeners Playlist.
  • Matter: A new and better way to grow your professional skills.
  • Feel free to add yours here 🤗.

License

MIT