Skip to content

Use native Element.closest when available #37

Description

@luiz

Some browsers already support a native implementation of the closest function. The library should use it when available, maintaining the current implementation as a fallback.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions