DrewDahlman / Mason

Mason.js for creating a perfect grid with jQuery.
http://masonjs.com/
MIT License
1.22k stars 183 forks source link

on trigger or callback basis #1

Closed mohdhazwan closed 11 years ago

mohdhazwan commented 11 years ago

great plugin, btw I got quick question. is it possible to add this as a callback function? ie after isotope filter or execute filler onclick

thanks

DrewDahlman commented 11 years ago

Im sorry I misread your comment - No... the reason I created Mason was because Isotope and Masonry.js both wind up leaving gaps due to the way they are calculating the positioning of elements. Mason's job is to take a similar approach but to use vertical and horizontal space to fill in the gaps.

Mason takes an actual mason practice of creating objects to fill spaces, vs isotope that just moves things around in an attempt to fill spaces.