8000 Allow using any selector for the container property · Issue #74 · gumgum/gg-ez-vp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Allow using any selector for the container property #74
Open
@edrpls

Description

@edrpls

Our current code allows two types for the container property, one is a DOM node that will be used as is, the other is a string that represents an id for the node to use.

We could improve this further by allowing the user to pass any selector allowed by querySelector.

If we detect that the value given is not a node and includes a special character, we will use querySelector, if there is no special char, we fallback to getElementById

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0