Lifecycle
adoptedCallback
The adoptedCallback
is called when the element is moved from one document to another using adoptNode
. It is called after disconnectedCallback
, but before connectedCallback
.
Next: attributeChangedCallback
Previous: disconnectedCallback