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
[DOM] Improve some methods #1821
Comments
I would like to bring Selectors Level 4 Polyfills for these use cases in the future. I believe this will be a standard spec. It will be able to landed many new features such as |
Yeah, it would be nice. So, today there's nothing we can do, right? |
@okuryu 👍 on that initiative. I would definitely like to see that happen. |
I'll try to work for that. |
I would love to help with it, but things could be easier if there were a kind of roadmap. |
this would be an excellent thing to start as a thread in https://groups.google.com/forum/#!forum/yui-contrib to get interested parties discussing it, etc. |
I was wondering if it is a good idea to make some methods accept regex to do queries instead of only strings.
I have some nodes using bootstrap grid column class, which could be different according to some situations, for example:
col-xs-3
,col-sm-2
,col-md-10
orcol-lg-1
. As you can see it changes only the part on the middle of it.At some time I want to do a query to know if some node has a class of that type, something like this:
Is it a good idea to support regex in this case?
I thought in something like this:
The text was updated successfully, but these errors were encountered: