Add helper to lazy load custom elements
Categories
(Thunderbird :: Mail Window Front End, task)
Tracking
(thunderbird_esr128 wontfix, thunderbird133 fixed)
People
(Reporter: freaktechnik, Assigned: freaktechnik)
Details
Attachments
(5 files)
While we try to explicitly load custom elements whenever possible, sometimes that is just more complicated than necessary. To avoid loading elements unless they're needed in those situations I'd like to introduce a simple helper function that leverages customElements.setElementCreationCallback
.
Assignee | ||
Comment 1•4 months ago
|
||
Assignee | ||
Comment 2•4 months ago
|
||
Assignee | ||
Comment 3•4 months ago
|
||
Assignee | ||
Comment 4•4 months ago
|
||
Updated•4 months ago
|
Assignee | ||
Comment 5•4 months ago
|
||
Assignee | ||
Updated•4 months ago
|
Pushed by toby@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/dfcf6100aa2b
Create defineLazyCustomElement helper. r=arschmitz,vineet,aleca
https://hg.mozilla.org/comm-central/rev/611c4166a08e
Lazily load older custom elements. r=vineet
https://hg.mozilla.org/comm-central/rev/3edc65080fa7
Use defineLazyCustomElement to lazily load custom elements. r=vineet,arschmitz
https://hg.mozilla.org/comm-central/rev/4c52aab6a383
Add documentation for loading custom elements. r=heather,arschmitz
https://hg.mozilla.org/comm-central/rev/16aaf1a59075
Test customElements.js element loading. r=aleca
Description
•