wrec 0.8.0 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -14
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Wrec is a small, zero dependency library that
|
|
6
6
|
greatly simplifies building web components.
|
|
7
|
-
It is described in detail, with several working examples,
|
|
8
|
-
|
|
7
|
+
It is described in detail, with several working examples, in
|
|
8
|
+
<a href="https://mvolkmann.github.io/blog/wrec/" target="_blank"
|
|
9
|
+
rel="noopener noreferrer">my blog</a>.
|
|
9
10
|
|
|
10
11
|
## Getting Started
|
|
11
12
|
|
|
@@ -90,15 +91,3 @@ Here are the steps:
|
|
|
90
91
|
1. Browse localhost:5173.
|
|
91
92
|
|
|
92
93
|
1. Click the "-" and "+" buttons to verify that the component is working.
|
|
93
|
-
|
|
94
|
-
## Data Binding
|
|
95
|
-
|
|
96
|
-
## Form Submissions
|
|
97
|
-
|
|
98
|
-
Web components that extend `Wrec` can contribute values to
|
|
99
|
-
form submissions by adding the following line to their class definition.
|
|
100
|
-
Wrec looks for this automatically does the rest of the work.
|
|
101
|
-
|
|
102
|
-
```js
|
|
103
|
-
static formAssociated = true;
|
|
104
|
-
```
|