Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept string as second argument to mount() #120

Open
treshugart opened this issue Jan 10, 2017 · 0 comments
Open

Accept string as second argument to mount() #120

treshugart opened this issue Jan 10, 2017 · 0 comments

Comments

@treshugart
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant