MCPcopy Create free account
hub / github.com/cure53/DOMPurify /

Class

test/test-suite.js:1861–1871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1859 window.customElements.define(
1860 name,
1861 class extends window.HTMLElement {
1862 disconnectedCallback() {
1863 const home = this.stickyHome;
1864 if (home && !this.parentNode) {
1865 home.insertBefore(
1866 this,
1867 position === 'first' ? home.firstChild : null
1868 );
1869 }
1870 }
1871 }
1872 );
1873 }
1874

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected