0.0.7 • Published 7 years ago

angular2-holderjs v0.0.7

Weekly downloads
7
License
MIT
Repository
github
Last release
7 years ago

README

angular2-holderjs

This is a holderjs component created for Angular 2.

To use

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

Example

  • cd examples/webpack
  • run npm install
  • run npm start
  • Example should be running on localhost:8080

Who do I talk to?

  • Yakira C. Bristol (hello@yakirac.me)