0.2.4 • Published 5 months ago

ngx-overflow-shadow v0.2.4

Weekly downloads
11
License
MIT
Repository
github
Last release
5 months ago

NgxOverflowShadow

NPM Version NPM Downloads

  • A simple Angular directive to be used on any scrollable container for adding a shadow on the top/bottom side of the container.

Demo

npm.io

Installation

  1. Download from npm:
    npm install ngx-overflow-shadow --save

  2. Import the NgxOverflowShadowModule module:
    import {NgxOverflowShadowModule} from 'ngx-overflow-shadow'

  3. Add NgxOverflowShadowModule to your module imports:

 @NgModule({ ... imports: [ ... NgxOverflowShadowModule ] })

API

Put the ngxOverflowShadow directive selector on any scrollable container.

Input()

NameTypeDefaultDescription
topbooleanfalseIndicator for top shadow display.
bottombooleantrueIndicator for bottom shadow display.
shadowStylestring0 0 8px 1px rgba(0, 0, 0, 0.5)The box-shadow style you want to apply on the top/bottom side of the container.
0.2.4

5 months ago

0.2.3

1 year ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago