ngx-overflow-shadow
TypeScript icon, indicating that this package has built-in type declarations

0.1.7 • Public • Published

NgxOverflowShadow

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

Demo

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()

Name Type Default Description
shadowStyle string 0 0 8px 1px rgba(0, 0, 0, 0.5) The box-shadow style you want to apply on the bottom of the container.

Package Sidebar

Install

npm i ngx-overflow-shadow@0.1.7

Version

0.1.7

License

MIT

Unpacked Size

30.2 kB

Total Files

15

Last publish

Collaborators

  • maormoshe