MCPcopy Create free account
hub / github.com/reactjs/react-modal / TestWebComponent

Class TestWebComponent

specs/Modal.helpers.spec.js:143–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141 let wc;
142 let input;
143 class TestWebComponent extends HTMLElement {
144 constructor() {
145 super();
146 }
147
148 connectedCallback() {
149 this.attachShadow({
150 mode: "open"
151 });
152 this.style.display = "block";
153 this.style.width = "100px";
154 this.style.height = "25px";
155 }
156 }
157
158 const registerTestComponent = () => {
159 if (window.customElements.get("test-web-component")) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…