Yes. The template element can include any valid html. That means you can load script tags, iframes, img, video, etc.
Note: the template element has nothing to do with shadow dom. They're just convenient to use together.
We know that template implementations in shadow DOM can include scripts. But can they also include javascript libraries like zepto and mustache...I have tried but it doesn't seem to work. Is it valid to include such libraries in your template.
--
You received this message because you are subscribed to the Google Groups "Web Components Organisation" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webcomponent...@googlegroups.com.
To post to this group, send email to webcom...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/webcomponents/384be679-feb0-4eee-b11f-d2bb50ee567e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.