jQuery.fn.evolutionMasonry
This plugin enables responsive, multi-column, left-to-right layout of variable-height elements.
Usage
Initializes the selected container to render its immediate children as
$(container).evolutionMasonry(options)
Options
-
columnClass
: CSS class name to apply to each rendered column. Should define, at minimum, a desired width. Through media queries, alternate widths can be defined for different targets.- default:
masonry-column
- default:
Methods
append
Append items to the masonry layout
// append items
$('.container').evolutionMasonry('append', newItems);
empty
Removes all items from the masonry layout