Merge branch 'main' of github.com:ayoayco/web-component-base
This commit is contained in:
commit
a35f5a086e
4 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@
|
||||||
|
|
||||||
🤷♂️ zero-dependency, 🤏 tiny JS base class for creating reactive custom elements easily ✨
|
🤷♂️ zero-dependency, 🤏 tiny JS base class for creating reactive custom elements easily ✨
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
When you extend the `WebComponent` class for your component, you only have to define the `template` and `properties`. Any change in any property value will automatically cause just the component UI to render.
|
When you extend the `WebComponent` class for your component, you only have to define the `template` and `properties`. Any change in any property value will automatically cause just the component UI to render.
|
||||||
|
|
||||||
The result is a reactive UI on property changes. [View on CodePen ↗](https://codepen.io/ayoayco-the-styleful/pen/ZEwoNOz?editors=1010)
|
The result is a reactive UI on property changes. [View on CodePen ↗](https://codepen.io/ayoayco-the-styleful/pen/ZEwoNOz?editors=1010)
|
||||||
|
|
BIN
assets/IMG_0682.png
Normal file
BIN
assets/IMG_0682.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 136 KiB |
BIN
assets/IMG_0683.png
Normal file
BIN
assets/IMG_0683.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 102 KiB |
BIN
assets/IMG_0684.png
Normal file
BIN
assets/IMG_0684.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 93 KiB |
Loading…
Reference in a new issue