A directive to use Masonry with AngularJS.
You have to include the masonry attribute on the element holding the bricks. The bricks are registered at the directive through the masonry-brick CSS classname.
The directive uses imagesloaded to determine when all images within the masonry-brick have been loaded and adds the loaded CSS class to to the element, so you can add custom styles and prevent ghosting effects.
Your new post is loading...