# scrollboss

> Beautiful Scrollbar customizer for Bootstrap & HTML5 Page.

Latest version **1.0.1** (published 2021-07-26) · MIT License license · 0 weekly downloads

## Install

```sh
npm install scrollboss
pnpm add scrollboss
yarn add scrollboss
bun add scrollboss
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2021-07-26 |
| First published | 2021-07-26 |
| Weekly downloads | 0 |
| License | MIT License |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 9 |
| Author | Rohit Chouhan |
| Maintainers | rohit-chouhan |
| Keywords | js, bootstrap, scollbar, scroll, javascript |

## Links

- npm: https://www.npmjs.com/package/scrollboss
- Repository: https://github.com/rohit-chouhan/scrollboss
- Homepage: https://github.com/rohit-chouhan/scrollboss#readme
- Issues: https://github.com/rohit-chouhan/scrollboss/issues
- npm.io page: https://npm.io/package/scrollboss

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.1 (latest) — 2021-07-26
- 1.0.0 — 2021-07-26

## README

<p align="center">
  <img src="https://i.postimg.cc/VNxNLJbp/iusIL3Uo.gif"/><br>
   <img width="600" src="https://ps.w.org/advanced-scrollbar/assets/banner-772x250.png?rev=2481267"/><br>
Beautiful Scrollbar customizer for Bootstrap &amp; HTML5 Page<br>
  </p>
  
 ### Installation
 Include the CDN inside your head tag.
powered by <img width="100" src="https://upload.wikimedia.org/wikipedia/commons/thumb/d/d5/JsDelivr_Logo.svg/1200px-JsDelivr_Logo.svg.png"/>
  ```html
<script src="https://cdn.jsdelivr.net/gh/rohit-chouhan/scrollboss/scrollboss.js"></script>
```
or
  ```html
<script src="https://cdn.jsdelivr.net/npm/scrollboss/scrollboss.js"></script>
```
## Usage

|Object|Descpription|
|------|------|
color| to apply `bootstrap` and custom hex color on bar
background| to apply `bootstrap` and custom hex color on bar track
width| to apply width size of bar in pixel
radius| used to radius apply on bar or track
shadow | shadow size of bar track

## Method
```javascript
scrollboss.apply({
  color:"<bar_color>", //primary, danger, success, #e8009b(custom hex)
  background:"<track_color>", //primary, danger, success, #e8009b(custom hex)
  width:10, //bar width (in px) 
  radius:50, //bar radius
  shadow:5, //track shadow
});
```


## Complete Code Example
Live Try => https://jsfiddle.net/8o7hgct9/
```html
<html>
    <head>
        <title>
            The ScrollBoss
        </title>
        <script src="https://cdn.jsdelivr.net/gh/rohit-chouhan/scrollboss/scrollboss.js"></script>
        <script>
            scrollboss.apply({
                color:"primary",
                background:"success",
                width:10,
                radius:50,
                shadow:5,
            });
        </script>
    </head>
    <body>
        <h2>Hello</h2><br><br><br><br><br><br><br><br>
        <h2>Developer</h2><br><br><br><br><br><br><br><br>
        <h2>I</h2><br><br><br><br><br><br><br><br>
        <h2>Am</h2><br><br><br><br><br><br><br><br>
        <h2>ScrollBoss</h2><br><br><br><br><br><br><br><br>
    </body>
</html>
```

Developed by <a href="https://rohitchouhan.com">Rohit Chouhan</a>

---
_Source: https://npm.io/package/scrollboss · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
