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

Don't restrict TagRef to browser DOM nodes #34

Open
tindzk opened this issue Jun 7, 2017 · 0 comments
Open

Don't restrict TagRef to browser DOM nodes #34

tindzk opened this issue Jun 7, 2017 · 0 comments

Comments

@tindzk
Copy link
Member

tindzk commented Jun 7, 2017

A TagRef can be only resolved when the corresponding node was added to the browser DOM. While this is the most common use case, we could alternatively take an implicit context in TagRef.dom and Attribute.get. For this to work, dom has to use querySelector("#" + id) instead of document.getElementById(id).

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