-
-
Save Hatteron/66d4d755fc6a47b2a1269beb6b61ad5c to your computer and use it in GitHub Desktop.
Masonry imagesLoaded
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var $container = $(".masonry-container"); | |
$container.imagesLoaded(function () { | |
$container.masonry({ | |
columnWidth: ".item", | |
itemSelector: ".item" | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment