Skip to content

Accept string as second argument to mount() #120

@treshugart

Description

@treshugart

The mount() function should additionally accept a string as the second argument which is a selector of the node to mount to. The first matched node in the document should be used, so document.querySelector(str). If no node is found, then it should throw an error saying as much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions