Opened 10 years ago
Closed 10 years ago
#35389 closed feature request (maybelater)
HTML Imports
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Script Loader | Keywords: | |
| Focuses: | Cc: |
Description
Currently, WordPress supports enqueuing scripts (wp_enqueue_script()) and styles (wp_enqueue_style()).
I'd like to propose a new type of queue, HTML Imports (wp_enqueue_document() or something).
(HTML Imports is one of the important part of Web Components.)
Change History (4)
Note: See
TracTickets for help on using
tickets.
It's early in the standards process to consider adding a top-level API function in WordPress for this, see HTML imports browser support.
This doesn't block someone from experimenting with HTML imports. You could drop the
<link rel="import">tag in via thewp_headhook.