Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] method to change elements layout #152

Open
Redsmith24 opened this issue Jan 28, 2021 · 0 comments
Open

[FEAT] method to change elements layout #152

Redsmith24 opened this issue Jan 28, 2021 · 0 comments

Comments

@Redsmith24
Copy link

Hallo,
I'm looking for a method to change the layout of the filtered elements. I habe elements with a picture and text. I want to give the users the ability to switch the view from a grid view to a list view. I've tried toogleClass, but the demensions of the Elements didn't chgange, the rendering done by filterizr did not change. So I would like a method to rerender the elements.
At the moment I destroy the object and then initialize it again. This isn't smooth and I lose all filters.
Is this possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant