toddmotto / echo

Lazy-loading images with data-* attributes

Home Page:http://toddmotto.com/labs/echo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spinning animation for lazy load

js08 opened this issue · comments

commented

Hi,

Does the plugin supports spinning animation effect instead of lazy loading the image.
since we wanted the plugin to support animation instead of loading the image

It doesn't, no. Echo is focused on a performance over features approach as this type of thing requires a lot of overheads to calculate and is quite frankly a messy cross-browser issue. You can, however adopt a similar approach to the demo I've setup here, setting the spinner as a bg image on the img tag: toddmotto.com/labs/echo

commented

instead of image can you tell me how to achieve it in css using lazy load plugin...