feat(site): show link to FAQs issue
This commit is contained in:
parent
8829bd28aa
commit
6ae5961c4f
3 changed files with 15 additions and 2 deletions
12
site/src/components/warning-block.html
Normal file
12
site/src/components/warning-block.html
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<quote
|
||||||
|
style="
|
||||||
|
background-color: beige;
|
||||||
|
border-radius: 5px;
|
||||||
|
border: 1px solid gray;
|
||||||
|
padding: 1em;
|
||||||
|
margin: 1em 0;
|
||||||
|
display: block;
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<span id="icon">⚠️</span> <slot />
|
||||||
|
</quote>
|
|
@ -26,7 +26,6 @@
|
||||||
</awesome-header>
|
</awesome-header>
|
||||||
<main>
|
<main>
|
||||||
<section style="font-size: large;">
|
<section style="font-size: large;">
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
By extending our base class, you get an easy authoring experience as you would expect in writing your components:</p>
|
By extending our base class, you get an easy authoring experience as you would expect in writing your components:</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -35,7 +34,8 @@
|
||||||
<li>Extensible templates & renderer (examples in-progress)</li>
|
<li>Extensible templates & renderer (examples in-progress)</li>
|
||||||
<li>Provided out-of-the-box with <a href="https://ayco.io/gh/McFly">McFly</a>, a powerful no-framework framework</li>
|
<li>Provided out-of-the-box with <a href="https://ayco.io/gh/McFly">McFly</a>, a powerful no-framework framework</li>
|
||||||
</ul>
|
</ul>
|
||||||
<call-to-action />
|
<call-to-action></call-to-action>
|
||||||
|
<warning-block>See this issue for FAQs or comment your own: <a href="https://github.com/ayoayco/web-component-base/issues/3">Issue #3</a></warning-block>
|
||||||
<my-quote type="info">
|
<my-quote type="info">
|
||||||
<p>
|
<p>
|
||||||
Version 2.0.0-beta is out! 🎉
|
Version 2.0.0-beta is out! 🎉
|
||||||
|
|
|
@ -151,6 +151,7 @@ export class WebComponent extends HTMLElement {
|
||||||
effectsMap[prop] = [];
|
effectsMap[prop] = [];
|
||||||
}
|
}
|
||||||
effectsMap[prop].push(value.callback);
|
effectsMap[prop].push(value.callback);
|
||||||
|
console.log('>>> ', Object.getPrototypeOf(obj[prop]).prop)
|
||||||
} else if (oldValue !== value) {
|
} else if (oldValue !== value) {
|
||||||
obj[prop] = value;
|
obj[prop] = value;
|
||||||
effectsMap[prop]?.forEach((f) => f(value));
|
effectsMap[prop]?.forEach((f) => f(value));
|
||||||
|
|
Loading…
Reference in a new issue