Skip to content

Can we pass the instance of dom7 to the context in DOM selection function? #50

@iceleo-com

Description

@iceleo-com

When I hover on the DOM selection function $(selector, context), I see the context can be Element or Dom7Array (js doc).
But when I check the code, the context is used directly to the qsa function without checking.
So the problem here, that I cannot use the instance of dom7 as a context parameter in DOM selection function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions