upgrade method
The upgrade() method of the
CustomElementRegistry interface upgrades all shadow-containing custom
elements in a Node subtree, even before they are connected to the main
document.
Implementation
external void upgrade(Node root);
The upgrade() method of the
CustomElementRegistry interface upgrades all shadow-containing custom
elements in a Node subtree, even before they are connected to the main
document.
external void upgrade(Node root);