1.0.4 • Published 6 years ago

dg-custom-scrollbars v1.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Custom scrollbars demo - https://devzhen.github.io/dg-custom-scrollbars

**Installation**

  • npm: npm install dg-custom-scrollbars
  • Bower: bower install dg-custom-scrollbars

**How to use it**

  • Include 'dg-custom-scrollbars.min.css' in the head tag your HTML document:
    <link rel="stylesheet" href="/path/to/dist/css/dg-custom-scrollbars.min.css" />
  • Include 'dg-custom-scrollbars.min.js' in your HTML document:
    <script src="/path/to/dist/js/dg-custom-scrollbars.min.js"></script>
  • Usage:

    var textarea = document.getElementById('some_id');
    
    var cs = new CustomScrollbar(textarea);
    var cs = new CustomScrollbar(document.body);
1.0.4

6 years ago

1.0.3

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago