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

immediate child selector (>) doesn't work with native .matches #58

Open
justinbmeyer opened this issue Nov 12, 2018 · 0 comments
Open

Comments

@justinbmeyer
Copy link
Contributor

It can be very useful to delegate with something like > .myThing:

domEvents.addDelegateListener(document.body,"> .myThing", "a", function(event){
})

HTMLElement.prototype.matches does not support this. jQuery DID support this. This would be nice to keep.

@justinbmeyer justinbmeyer changed the title immediate child selector (<) doesn't work with native .matches immediate child selector (>) doesn't work with native .matches Nov 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants