1.1.4 • Published 7 years ago

ng-image-placeholder v1.1.4

Weekly downloads
6
License
ISC
Repository
github
Last release
7 years ago

Angular Image Placeholder Module

Description

Module for Image placeholder Directive for angular apps when images are loaded dynamically over network calls

API usage

Install with npm:

$ npm install --save ng-image-placeholder

in app.module.ts add the following in declarations

import { ImagesDirective } from 'ng-image-placeholder';

@NgModule({
  declarations: [
    ImagesDirective
  ]

example

<img ng-image-placeholder src="{{image-src}}" placeholder="{{placeholder-image}}">

CHANGELOG

  • 1.0.0 -- basic module for imageplaceholder
  • 1.1.0 -- added placeholder as input to directive

TODO

  • need to make broken image dynamic
  • need to seperate out no-image and broken image case

Contributors

  • Faisal Ali
1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago