# @be4code/ngx-double-scrollbar

Latest version **1.0.1** (published 2018-09-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install @be4code/ngx-double-scrollbar
pnpm add @be4code/ngx-double-scrollbar
yarn add @be4code/ngx-double-scrollbar
bun add @be4code/ngx-double-scrollbar
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-09-06 |
| First published | 2018-06-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 94 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | be4code |
| Keywords | scrollbar, @angular, ngx, double scrollbar |

## Links

- npm: https://www.npmjs.com/package/@be4code/ngx-double-scrollbar
- Repository: https://github.com/be4code/ngx-double-scrollbar
- Homepage: https://github.com/be4code/ngx-double-scrollbar#readme
- Issues: https://github.com/be4code/ngx-double-scrollbar/issues
- npm.io page: https://npm.io/package/@be4code/ngx-double-scrollbar

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^1.9.0

## Alternatives

- [@sentry/react-native](https://npm.io/package/@sentry/react-native.md) — 2.6M weekly downloads
- [@ardatan/aggregate-error](https://npm.io/package/@ardatan/aggregate-error.md) — 708.1K weekly downloads
- [custom-error-generator](https://npm.io/package/custom-error-generator.md) — 2.0K weekly downloads
- [@technik-sde/prosemirror-recreate-transform](https://npm.io/package/@technik-sde/prosemirror-recreate-transform.md) — 1.5K weekly downloads
- [@suchipi/error-utils](https://npm.io/package/@suchipi/error-utils.md) — 78 weekly downloads

## Recent versions

- 1.0.1 (latest) — 2018-09-06
- 1.0.0 — 2018-08-27
- 0.0.4 — 2018-08-13
- 0.0.3 — 2018-08-12
- 0.0.2 — 2018-06-18
- 0.0.1 — 2018-06-18

## README

[![npm version](https://badge.fury.io/js/%40be4code%2Fngx-double-scrollbar.svg)](https://badge.fury.io/js/%40be4code%2Fngx-double-scrollbar)
[![npm downloads](https://img.shields.io/npm/dm/@be4code/ngx-double-scrollbar.svg)](https://npmjs.org/@be4code/ngx-double-scrollbar)
[![Build Status](https://travis-ci.org/be4code/ngx-double-scrollbar.svg?branch=master)](https://travis-ci.org/be4code/ngx-double-scrollbar)

# NgxDoubleScrollbar

`ngx-double-scrollbar` is Angular component that generates second scrollbar when the content is long enough to create a horizontal scrollbar. 


## Installation

To use `ngx-double-scrollbar` in your project install it via [npm](https://www.npmjs.com/package/@be4code/ngx-double-scrollbar):
```
npm install --save @be4code/ngx-double-scrollbar
```


## Usage
Import `DoubleScrollbarModule` and add it to module imports.
```
import { DoubleScrollbarModule } from '@be4code/ngx-double-scrollbar';

@NgModule({
    imports: [
        DoubleScrollbarModule
    ]
})
```

Wrap a long element with `<ngx-double-scrollbar></ngx-double-scrollbar>`
```
<ngx-double-scrollbar>
    <div class="long-content">
      ...
    </div>
</ngx-double-scrollbar>    
```
When `ngx-double-scrollbar` content is longer than its container, two scrollbar will be shown: one above and one below the content.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details

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