Skip to content

Commit

Permalink
Point docs to new version
Browse files Browse the repository at this point in the history
  • Loading branch information
tuupola committed Sep 23, 2017
1 parent 72c98c4 commit b740f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -9,7 +9,7 @@ This is a modern vanilla JavaScript version of the original [Lazy Load](https://
By default Lazy Load assumes the URL of the original high resolution image can be found in `data-src` attribute. You can also include an optional low resolution placeholder in the `src` attribute.

```html
<script src="https://cdn.jsdelivr.net/npm/lazyload@2.0.0-beta.1/lazyload.js"></script>
<script src="https://cdn.jsdelivr.net/npm/lazyload@2.0.0-beta.2/lazyload.js"></script>

<img class="lazyload" data-src="img/example.jpg" width="765" height="574" />
<img class="lazyload" src="img/example-thumb.jpg" data-src="img/example.jpg" width="765" height="574" />
Expand Down

0 comments on commit b740f0c

Please sign in to comment.