We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7852782 commit cf8a998Copy full SHA for cf8a998
demo1/fetcherElement.js
@@ -39,7 +39,7 @@ class FetchTestElement extends HTMLElement {
39
40
configPromise.then((dataText) => {
41
let displayTextConfig = JSON.parse(dataText);
42
- document.querySelector(".text-container").innerText = displayTextConfig.displayText;
+ this.shadow.querySelector(".text-container").innerText = displayTextConfig.displayText;
43
});
44
}
45
0 commit comments