top | item 43879441

(no title)

tehbeard | 10 months ago

No HTML imports was an idea of using the HTML document format to encapsulate the 3 distinct data types needed for custom elements:

- JS for functionality via the custom elements API - HTML for layout via <template> tags. - CSS for aesthetics via <style> tags.

Not for just quickly and simply inserting the contents of header.html at a specific location in the DOM.

discuss

order

No comments yet.