This is a holderjs component created for Angular 2.
npm install --save angular2-holderjs
import { HolderJsModule } from 'angular2-holderjs/component'
Add HolderJsModule to NgModule imports in your main module
In your template, add the options you would like for holderjs:
<hjs [holderId]="test-holder" [imgSrc]="holder.js/293x210?text=Test&theme=vine"></hjs>
See https://github.com/imsky/holder for imgSrc options
cd examples/webpack
- run
npm install
- run
npm start
- Example should be running on localhost:8080
- Yakira C. Bristol (hello@yakirac.me)