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

HTMLTemplateElement is missing? #62

Inkeliz opened this Issue Nov 6, 2018 · 0 comments


None yet
1 participant

Inkeliz commented Nov 6, 2018

The <template> have a "attribute" of content for read the content of the template itself.

It's possible to do using:

template := t.template.QuerySelector("template")
content := dom.WrapDocumentFragment( template.Underlying().Get("content") )

But, the go-js-dom have a bunch of elements, like HTMLAnchorElement, HTMLAudioElement and so on. But actually, don't have seems to have a HTMLTemplateElement.

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