ng2-kw-duotone-image
v0.0.2
Published
Angular2 component to apply a duotone SVG filter to an image
Downloads
2
Maintainers
Readme
ng2-kw-duotone-image
Angular2 component to apply a duotone SVG filter to an image
As seen on Angularbeers http://www.meetup.com/AngularJS-Beers/events/234753624/
Based on http://codepen.io/jmperez/pen/LGqaxQ
Installing
ng2-kw-duotone-image is available via npm
npm install ng2-kw-duotone-image -S
Import DuotoneImageModule in your module
import { DuotoneImageModule } from 'ng2-kw-duotone-image';
Usage:
<ng2-kw-duotone-image></ng2-kw-duotone-image>
Options:
- lightColor: string | color to be used for whites
- darkColor: string | color to be used fro blacks
- src: string | image src
- width: string | image width
- src: string | image height