# ngx-mat-hover-scroll

> A simple Angular Directive to implement custom scroll on hover.

Latest version **1.0.4** (published 2021-07-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install ngx-mat-hover-scroll
pnpm add ngx-mat-hover-scroll
yarn add ngx-mat-hover-scroll
bun add ngx-mat-hover-scroll
```

## 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.4 |
| Published | 2021-07-31 |
| First published | 2021-07-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 9.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Vishnu Thankappan |
| Maintainers | vishnuthakappan |
| Keywords | Angular, Directive, Scroll, Custom Scroll, Anguar 12 |

## Links

- npm: https://www.npmjs.com/package/ngx-mat-hover-scroll
- Repository: https://github.com/vishnuramero/HoverScroll
- Homepage: https://github.com/vishnuramero/HoverScroll#readme
- Issues: https://github.com/vishnuramero/HoverScroll/issues
- npm.io page: https://npm.io/package/ngx-mat-hover-scroll

## Dependencies (1)

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

## Recent versions

- 1.0.4 (latest) — 2021-07-31
- 1.0.3 — 2021-07-31
- 1.0.2 — 2021-07-31
- 1.0.1 — 2021-07-31
- 1.0.0 — 2021-07-31

## README

# NgxMatHoverScroll



# HoverScroll

An Angular Directive to enable hover on scroll.



### Features
<ul>
  <li>Use custom class for Scroll. </li>
  <li>Custom control over enable disable X and Y axis scroll. </li>
</ul>



### Setup
<ul>
<li> import { NgxMatHoverScrollModule } from 'ngx-mat-hover-scroll';  </li>
</ul>


#### Sample Code
```html

 <div ngx-HoverScroll  [className]="'custom-scroll'" class="list">
    <div  class="cards" *ngFor="let fruit of fruits">
      <div class="card">
        <div class="cardData">

          {{fruit}}
        </div>
      </div>
    </div>
</div>


```
```CSS


.custom-scroll::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.custom-scroll::-webkit-scrollbar-track {
  background: #c9c9c9;
  border-radius: 2px;
}

.custom-scroll::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background: rgb(112, 112, 112);
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
  background: rgb(110, 110, 110);
}



```




#### Properties

| Name      | Description | 
| :---        |    :----:   |
|scrollType :string| Default to 'EnableY'. Supports [All,EnableY,EnableX].|
|className :string| Class name to get properties of custom scroll bar.|


**scrollType Property**
| Name      | Description | 
| :---        |    :----:   |
|All| Enables both X and Y axis scroll.|
|EnableY |Enable only Y axis scroll.|
|EnableX |Enable only X axis scroll.|




<br>


This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.2.14.

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