Skip to content

Destroy, reload #8

Description

@ricnunes

Hi codrops,

I'm implementing this on a new website and I'm trying to add a filter system to the masonry, but I'm not able to run any of the masonry options, since it's being recreated on AnimeOnScroll.

Any idea on how I can reload the grid, after hiding the filtered cards?

What I was trying to do, but is currently failing:

$li.removeClass('active'); $('#grid').find('.item-'+targetLink).addClass('hidden'); $('#grid').masonry('layout');

Thank you :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions