Skip to content

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

@justinbmeyer

Description

@justinbmeyer

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions