angular-isotope icon indicating copy to clipboard operation
angular-isotope copied to clipboard

Run init from controller

Open Torone opened this issue 11 years ago • 3 comments

I have the issue of images overlapping because I'm loading many images. Usually the easy fix for the Javascript / jQuery version is to add ImagesLoaded and after initialise isotope.

Applying ImagesLoaded is pretty easy after my ajax requests for the items but I wish also to initialise this plugin when ImagesLoaded is done.

How can I run it from the controller?

For the ones looking at ImagesLoaded for Angular, I'm using this one: https://github.com/homerjam/angular-images-loaded

It works very well.

Torone avatar Jan 09 '15 12:01 Torone

any luck using ajax, ImagesLoaded and angular-isotope?

cherchyk avatar Apr 22 '15 03:04 cherchyk

I just replaced angular-isotope with angular-masonry that is built on top of isotope and has already imagesLoaded. It is working fine.

Torone avatar Apr 22 '15 08:04 Torone

thanks I also found it doing everything I need. But Isotope supposed to be better than masonry (even both were build by the same guy). Isotope relies on modern browsers to do transformation and other functions. So a result page with 300 tiles performs better.

cherchyk avatar Apr 22 '15 13:04 cherchyk