Pentiado / angular-lazy-img

Lightweight lazy load images plugin. Only 1kb after gziping. Pure JavaScript, only Angular as dependency.
MIT License
178 stars 66 forks source link

lazyImgContainer confusing #20

Closed silberjan closed 7 years ago

silberjan commented 8 years ago

plase note that the attribute to add to a container on a dynamic page is lazy-img-container (in kebab case) rather than the actual name lazyImgContainer (in camel case)

Even though this is convention in Angular, it still got me ;)

canova commented 8 years ago

I'm not so experienced in angular and this got me too :)

smcauliffe commented 8 years ago

thanks for that!

salilbajaj commented 7 years ago

Can you write the sample code on how to use lazy-img-container

Pentiado commented 7 years ago

I updated readme and added demo/container-demo.html that shows how to use it so problem fixed : )