Skip to content

Commit

Permalink
Merge pull request #16 from w8api/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
Louie Colgan authored Jan 8, 2021
2 parents 145954e + 7bce874 commit 9f884fc
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 @@ -74,7 +74,7 @@ To directly use the service, you just need to inject it and observe the element(

```razor
@using Blazor.IntersectionObserver
@inject IntersectionObserverService ObserverService
@inject IIntersectionObserverService ObserverService
<img @ref="ImageElement" src="@(IsIntersecting ? "https://www.placecage.com/g/500/500" : "")"/>
Expand Down Expand Up @@ -184,7 +184,7 @@ This is a useful method to clean up observers when components are disposed of, i
```razor
@using Blazor.IntersectionObserver
@implements IAsyncDisposable
@inject IntersectionObserverService ObserverService
@inject IIntersectionObserverService ObserverService
<div @ref="NicolasCageRef"></div>
Expand Down

0 comments on commit 9f884fc

Please sign in to comment.