Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tiansh/ya-simple-scrollbar
Yet Another Simple Scrollbar. A lightweight javascript library for creating customlized scrollbar.
https://github.com/tiansh/ya-simple-scrollbar
custom-scrollbar javascript scrollbar
Last synced: 23 days ago
JSON representation
Yet Another Simple Scrollbar. A lightweight javascript library for creating customlized scrollbar.
- Host: GitHub
- URL: https://github.com/tiansh/ya-simple-scrollbar
- Owner: tiansh
- License: mit
- Created: 2017-03-07T10:21:49.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-03-08T05:35:29.000Z (over 7 years ago)
- Last Synced: 2024-09-18T10:17:13.769Z (about 2 months ago)
- Topics: custom-scrollbar, javascript, scrollbar
- Language: JavaScript
- Homepage: https://tiansh.github.io/ya-simple-scrollbar
- Size: 85 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yaSimpleScrollbar
Yet Another Simple Scrollbar. A lightweight javascript library for creating customlized scrollbar.
* Lightweight vanilla JavaScript
* All native events supported, smooth and sweet
* Perfect with dynamic content
* Good performance, without `setInterval` trick## Demo
http://tiansh.github.io/ya-simple-scrollbar
## Usage
```html
```
```javascript
// then, suppose you want to add scrollbar to `#example` element...
simpleScrollbar.attach(document.getElementById('example'));
// Yes, that's all
```## About
This script is published under the MIT License,
check LICENSE file for more detail.## Credits
This script is based on following open source scripts:
* buzinas/simple-scrollbar
* marcj/css-element-queries