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

Hiding items until filtering #1672

Open
Meseko opened this issue Jul 18, 2024 · 2 comments
Open

Hiding items until filtering #1672

Meseko opened this issue Jul 18, 2024 · 2 comments

Comments

@Meseko
Copy link

Meseko commented Jul 18, 2024

Is there a way of hiding all items and then display them based on ones filter?

@thesublimeobject
Copy link
Collaborator

@Meseko — do you mean clicking a filter that hides all items, and then re-displays only the filtered items? or do you mean having two filters, one that shows none and then another that shows all?

@thesublimeobject
Copy link
Collaborator

if you mean the former, i guess you could maybe use some combination of the methods hideItemElements and revealItemElements on click of whichever filter you would like (and then combine that with your filtering functions).

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

No branches or pull requests

2 participants