@faber1999/axon.js 0.3.1 → 0.4.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 +4 -1
- package/dist/{chunk-RKZYBE62.js → chunk-HE4N2XY4.js} +2 -0
- package/dist/index.js +1 -1
- package/dist/jsx.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img src="./logo.svg" width="80" alt="axon.js logo" />
|
|
3
|
+
<h1>axon.js</h1>
|
|
4
|
+
</div>
|
|
2
5
|
|
|
3
6
|
A fine-grained reactive frontend framework built from scratch.
|
|
4
7
|
JSX syntax · Signals reactivity · Router · Store · No Virtual DOM · Zero dependencies.
|
|
@@ -167,6 +167,8 @@ function applyProp(el, key, value) {
|
|
|
167
167
|
else el.removeAttribute(key);
|
|
168
168
|
} else if (key === "innerHTML") {
|
|
169
169
|
el.innerHTML = value;
|
|
170
|
+
} else if (key === "value") {
|
|
171
|
+
el.value = value == null ? "" : String(value);
|
|
170
172
|
} else {
|
|
171
173
|
if (value == null || value === false) {
|
|
172
174
|
el.removeAttribute(key);
|
package/dist/index.js
CHANGED
package/dist/jsx.js
CHANGED
package/package.json
CHANGED