- A simple directive to be used on any scrollable container to add a shadow on the bottom of the container.
-
A simple usage example can be found under
src/app
directory of this repository. -
You may also visit the online usage example on https://maormoshe.github.io/OverflowShadowLibrary/
-
Download from npm:
npm install ngx-overflow-shadow --save
-
Import the
NgxOverflowShadowModule
module:
import {NgxOverflowShadowModule} from 'ngx-overflow-shadow'
-
Add
NgxOverflowShadowModule
to your module imports:
@NgModule({ ... imports: [ ... NgxOverflowShadowModule ] })
Put the ngxOverflowShadow
directive selector on any scrollable container.
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. |