0.1.3 • Published 1 year ago

vue-scroll-shadow-v3 v0.1.3

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

Vue 3 Vertical and Horizontal Scroll Shadow

Component that adds shadow to scrollable area works both with vertical and horizontal scrolling.

Installation

npm i vue-scroll-shadow-v3

Usage

import VueScrollShadow from "vue-scroll-shadow-v3";
import "vue-scroll-shadow/style.css";
<template>
  <vue-scroll-shadow>
    <!-- Scrollable content here -->
  </vue-scroll-shadow>
</template>

Props

NameTypeDefaultDescription
scrollDirection'vertical' | 'horizontal'verticalThe scroll direction of the container
shadowLengthString'15px'Size of shadow

Demo

Demo Link

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago