So, I use Freemasonry to create a "liquid" layout on my site, but now I am faced with a problem associated with its methods of hiding and disclosing.
In the case, I make this call:
$container.masonry('hide', $(this));
As you can see, I use $(this) to tell the stone cluster which element to hide through jquery
But apparently this method does not work with jquery element?
The error message in my console is as follows:
Uncaught TypeError: Object
I tried to look into the documentation , but all that it says about the accepted type:
$container.masonry( 'hide', items )
Elements Type: Array of Freemasonry. Items
What is freemasonry. Is this supposed to be? And how to specify your element as one?
source share