Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fmendoza authored Nov 29, 2018
1 parent bec8d77 commit c31e958
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ You can also listen to the load event to be notified when the image has been loa
<img-loader src="path/to/image" (load)="onImageLoad($event)></img-loader>
```
```typescript
import { ImgLoader } from 'ionic-image-loader';
import { ImgLoaderComponent } from 'ionic-image-loader';
...
onImageLoad(imgLoader: ImgLoader) {
onImageLoad(imgLoader: ImgLoaderComponent) {
// do something with the loader
}
```
Expand Down

0 comments on commit c31e958

Please sign in to comment.