1
0
Fork 0

Add more detail to README.

This commit is contained in:
Starbeamrainbowlabs 2016-11-26 11:58:04 +00:00
parent 6cc16b8195
commit e3802df6b7
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,10 @@ Note that no other attributes will be touched, so you can safely do whatever els
If for some reason the `data-src` attribute is unsuitable, you change change it with the `attributeName` parameter (see below).
Snooze Squad should also properly detect which images are currently in the viewport, and load them automatically.
You can also set the `src` attribute of your lazily-loaded images to a placeholder or other loading image / animation - Snooze Squad will overwrite this with the actual address of the image when the image is lazily loaded.
## Options
You can pass Snooze Squad a number of options. Below is an explanation of each: