Skip to content

Commit b9fa68e

Browse files
docs(docs): updated docs to match new names for component inputs and outputs
1 parent 2a1bb76 commit b9fa68e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ A working example can be found inside [/src](https://github.com/thisissoon/angul
4949
[sizes]="sizes"
5050
imgClass="foo"
5151
alt="lorem ipsum"
52-
(imagePlaceholderLoaded)="onPlaceholderLoad($event)"
53-
(imageLoaded)="onFullResLoad($event)">
52+
(placeholderLoaded)="onPlaceholderLoad($event)"
53+
(imageLoaded)="onImageLoad($event)">
5454
</sn-image-loader>
5555
```
5656

@@ -85,7 +85,7 @@ export class AppComponent {
8585
// Do something
8686
}
8787

88-
public onFullResLoad(imageLoadedEvent: ImageLoadedEvent) {
88+
public onImageLoad(imageLoadedEvent: ImageLoadedEvent) {
8989
// Do something
9090
}
9191
}

0 commit comments

Comments
 (0)