RevillWeb / img-2

Replace <img /> elements with <img-2> to automatically pre-cache images and improve page performance.
MIT License
1.89k stars 63 forks source link

Init in attributeChangedCallback if it's the first time width/hight is set #11

Closed abraham closed 6 years ago

abraham commented 6 years ago

Makes it more compatible with Angular dynamically setting width/hight after init has already bailed from a lack of width/height.