Skip to content

Accept string as second argument to mount() #120

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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