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 506b0cd commit 61f0fd6Copy full SHA for 61f0fd6
demo/example-card.js
@@ -1,4 +1,4 @@
1
-import { LitElement, html, css } from "https://esm.run/lit-html@1";
+import { LitElement, html, css } from "https://cdn.jsdelivr.net/gh/lit/dist@3/core/lit-core.min.js";
2
3
class ExampleCard extends LitElement {
4
sipCore;
@@ -26,6 +26,9 @@ class ExampleCard extends LitElement {
26
`;
27
28
connectedCallback() {
29
+ if (window.sipCore) {
30
+ this.sipCore = window.sipCore;
31
+ }
32
super.connectedCallback();
33
window.addEventListener("sipcore-update", this.updateHandler);
34
}
0 commit comments