-
Notifications
You must be signed in to change notification settings - Fork 71
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
No clues about ignoring certain list of elements #32
Comments
+1 Seems this is related to TODO item:
|
No progress in 2 years. :D Optimal Select is very optimal that I get worried I'll break something if I touch it to add this functionality. |
Lost a track of time. An update which addresses the existing PRs and the mentioned issue here is in work. Will hopefully finish it this summer. Sorry for the inconvenience 😓 |
I used another jQuery based library called selector gadget, dom selector tool and with optimal select for last two years since my first post here. I've been using it and I think we can definitely work on something. Even right now I'm using that library with jQuery just because the multi selector on optimal select does not allow to ignore list of DOM elements. I'll try to experiment with this more. Good to see the project did not die. Let me know how i can be of help. |
We have a list of selectors, a list of rejected elements. We can select elements well and get short selector, but how to get the proper selectors and ignore those rejected elements?
If I try to ignore the elements using traverseNode of Skip example, the traverseNode returns the whole document. If I use classes, the className returns only
class
instead of a list or array of classes.If we have multiple elements
.under.blue
and.under.red
and we only want to get .under.blue and reject .under.red.To sum it up, how do we ignore a list of elements properly?
The text was updated successfully, but these errors were encountered: