Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Imports

Addy Osmani edited this page Aug 19, 2013 · 2 revisions

HTML Imports

The HTML Imports specification is the normative description of this part of Web Components.

Custom elements and decorators can be loaded from external files using the link tag:

<link rel="import" href="goodies.html">

Only <decorator> elements and <element> elements are interpreted by the user agent, although the DOM of this document is available to script through the import property. Documents which are retrieved cross-origin use CORs to determine that the definitions are designed to run cross-site.

Clone this wiki locally