diff --git a/site/src/components/warning-block.html b/site/src/components/warning-block.html new file mode 100644 index 0000000..a37f7d5 --- /dev/null +++ b/site/src/components/warning-block.html @@ -0,0 +1,12 @@ + + ⚠️ + diff --git a/site/src/pages/index.html b/site/src/pages/index.html index cdd3a67..8d8a369 100644 --- a/site/src/pages/index.html +++ b/site/src/pages/index.html @@ -26,7 +26,6 @@
-

By extending our base class, you get an easy authoring experience as you would expect in writing your components:

- + + See this issue for FAQs or comment your own: Issue #3

Version 2.0.0-beta is out! 🎉 diff --git a/src/WebComponent.js b/src/WebComponent.js index 313cc20..932715e 100644 --- a/src/WebComponent.js +++ b/src/WebComponent.js @@ -151,6 +151,7 @@ export class WebComponent extends HTMLElement { effectsMap[prop] = []; } effectsMap[prop].push(value.callback); + console.log('>>> ', Object.getPrototypeOf(obj[prop]).prop) } else if (oldValue !== value) { obj[prop] = value; effectsMap[prop]?.forEach((f) => f(value));