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

Class ButtonWebComponent

specs/Modal.helpers.spec.js:197–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195 let wc;
196 let button;
197 class ButtonWebComponent extends HTMLElement {
198 constructor() {
199 super();
200 }
201
202 connectedCallback() {
203 this.innerHTML = '<button>Normal button</button>';
204 this.style.display = "block";
205 this.style.width = "100px";
206 this.style.height = "25px";
207 }
208 }
209
210 const registerButtonComponent = () => {
211 if (window.customElements.get("button-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…