Component that customizes the scroll and inserts shadow when scrolling exists
npm install vue-scroll-shadow •  • 
Component that customizes the scroll and inserts shadow when scrolling exists
```
npm i vue-scroll-shadowor
yarn add vue-scroll-shadow
`html`
You can also download and import it manually
`html`
`js
import Vue from 'vue';
import ScrollShadow from 'vue-scroll-shadow';
Vue.component('scroll-shadow', ScrollShadow);
`
An example of how to use the library:
`vue`
Component props:
| Name | Description | Type | Required | Default |
| ----------------- | ------------------------ | --------- | -------- | ----------------------------------------------------------------------- |
| styleContainer | - | String | false | - |String
| styleSubcontainer | - | | false | - |String
| scrollColor | Scroll color | | false | #c5c5c5 |String
| scrollPadding | Left scroll padding | | false | 0px |String
| scrollWidth | Scroll Width | | false | 8px |String
| scrollColorHover | Scroll color when hover | | false | #a6a6a6 |String
| shadow | - | | false | 0 2px 4px rgba(0, 0, 0, 0.2) inset, 0 -2px 4px rgba(0, 0, 0, 0.2) inset |Boolean
| isShadow | Verify shadow is visible | | false | true |
Local demo:
```
git clone https://github.com/andrelmlins/vue-scroll-shadow.git
cd vue-scroll-shadow
npm install && npm run start
Download stats for this NPM package

Vue Scroll Shadow is open source software licensed as MIT.