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

Improve code to handle inputs or classes #51

Open
robertpainsi opened this issue Jul 21, 2023 · 0 comments
Open

Improve code to handle inputs or classes #51

robertpainsi opened this issue Jul 21, 2023 · 0 comments

Comments

@robertpainsi
Copy link
Owner

Currently a few if/else blocks handle the logic how checked, unchecked, disabled filters are handled.

e.g. if it's an input, then set the checked attribute, if it's an class, set the checked class.

This can be definitely be improved by implementing against an interface.

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