JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q22128F
  • License MIT

Customized Scroll bar

Package Exports

  • cus-scroll

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cus-scroll) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

cus-scroll

Customized Scroll bar.
To see some demos, check out here.

Install

npm

npm install cus-scroll

Unpkg

<script src="https://unpkg.com/cus-scroll@1.1.5/cus-scroll.min.js"></script>

Set up

HTML

<div id="myCusScroll">
  <!-- .... -->
</div>

Javascript

import CusScroll from "cus-scroll";

new CusScroll('#myCusScroll');

CSS

Add any your custom css what you want, you can see my example css.