mirror of
https://github.com/sbrl/SnoozeSquad.git
synced 2018-01-10 21:33:44 +00:00
Correct spelling in README
This commit is contained in:
parent
eb92d05c00
commit
08884cdd5d
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ window.snoozeSquad = new SnoozeSquad({});
|
||||||
|
|
||||||
The first parameter in the above is the _options object_. You can specify a number of options that are listed below if you want to. Note that the options object is currently _required_, and SnoozeSquad won't work without it.
|
The first parameter in the above is the _options object_. You can specify a number of options that are listed below if you want to. Note that the options object is currently _required_, and SnoozeSquad won't work without it.
|
||||||
|
|
||||||
Once you've got that set up, change the name of the `src` attribute of all images that you want to be lazy loaded to `data-src`. The contents of `data-src` will be copied over to the `src` attirbute when the image is woken up. Example:
|
Once you've got that set up, change the name of the `src` attribute of all images that you want to be lazy loaded to `data-src`. The contents of `data-src` will be copied over to the `src` attribute when the image is woken up. Example:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<!-- From this -->
|
<!-- From this -->
|
||||||
|
|
Loading…
Reference in a new issue