MCPcopy Create free account
hub / github.com/BBKolton/reactify-wc / connectedCallback

Method connectedCallback

test/src/webComponents/StringTest.js:15–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13 }
14
15 connectedCallback() {
16 const shadow = this.attachShadow({ mode: "open" });
17 shadow.appendChild(StringTest.template.content.cloneNode(true));
18 this.setString();
19 }
20
21 setString() {
22 this.shadowRoot.querySelector(".string").innerText = this.string;

Callers

nothing calls this directly

Calls 1

setStringMethod · 0.95

Tested by

no test coverage detected