1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2024-11-23 00:59:38 +01:00
Commit Graph

54 Commits

Author SHA1 Message Date
4d3a513713
💥 WC 2023-11-08 19:09:39 +01:00
5c038f0427
🔨 mainly types + 💥 ddePublicElementTagNameMap 2023-11-08 18:53:22 +01:00
0f511d1791
💥 append, elNS, el.mark, el.later 2023-11-08 13:44:37 +01:00
3866b29436
🔨 ElementExtender → ElementModifier 2023-11-07 17:30:15 +01:00
98d9d6a5b1
docs/info 2023-11-06 19:29:54 +01:00
0d70189908
Create DocumentFragment also with el() 2023-11-06 14:04:27 +01:00
b597c00176
🚀 🚧 improvements (handlign special cases) + docs 2023-11-05 21:49:32 +01:00
b7d62dbce7
♻️ Refactor signal mapping to attributes 2023-10-19 17:11:55 +02:00
46869736d5
♻️ Remove signals from elements + better debbuging options 2023-10-19 13:53:49 +02:00
f08d495a5c
♻️ split assign to assign and assignAttribute 2023-10-15 11:12:06 +02:00
39900dc85b
♻️ Improve removing signal listener from elements 2023-10-14 16:20:54 +02:00
c20f5ae117
add removeSignalsFromElements
for better auto-removing signals↔elements listeners (e.g.
provide a way to debug/investigate deps from browser inspector)
2023-10-14 12:43:53 +02:00
9f57913f8d
🚀 Remove signal listeners automatically (fixes #20) 2023-10-13 20:57:21 +02:00
4c571354c4
🐛 el leave scope correctly 2023-10-13 17:13:03 +02:00
06ab87c06f
Add __dde_lifecycleToEvents flag to lifecycleToEvents 2023-10-13 16:51:43 +02:00
18f93d7e0b
🚀 lifecycle events, signals from attrs test 2023-10-13 16:37:04 +02:00
6a52972373
♻️ Update scope and namespace handling (scope hook) 2023-10-10 10:55:00 +02:00
ebbb76e9a0
🚀 use native listeners & scope 2023-10-09 13:49:38 +02:00
3823abc2d7
🐛 use assign.call() for creating elements 2023-09-21 17:04:40 +02:00
eb68fff211
SVGElement (.apend), attrs handling in assing 2023-09-21 16:25:36 +02:00
d20e2041f6
🐛 update dom.js to set/remove attributes ("xlink:href") 2023-09-21 14:59:05 +02:00
19051c256a
♻️ reduce complexity and simplify code 2023-09-21 14:37:48 +02:00
0794659104
🐛 add missing cases for href, src, class, xlink:href, textContent, innerText 2023-09-21 13:14:55 +02:00
cc69018d99
🐛 Process primitives & signals correctly in createElement/assign 2023-09-21 12:35:27 +02:00
ddfa3a2929
🐛 check for null when checking type of object (assign) 2023-09-19 12:39:56 +02:00
78fdb45ea7
🐛 update dom-common.js setDelete to setDeleteAttr 2023-09-19 12:35:07 +02:00
1df797e316
♻️ 🔨 🐛 e.g. better namespace #18 2023-09-19 09:30:21 +02:00
dfcb98bfbe
🚚 2023-09-13 21:06:13 +02:00
d7e0b17e38
📦 2023-09-13 13:20:00 +02:00
5436e50a95
🐛 Try to make undefined more inuitive…
…(as it is ‘template lang’ not only `assign`)
2023-09-13 13:06:25 +02:00
ff22eed991
♻️ Update todosComponent to use types properly 2023-09-12 15:25:13 +02:00
4b0a7d4554
add custom HTML element helpers 2023-09-11 18:31:23 +02:00
1cb1a8420c
📝 add comment to processReactiveAttribute 2023-09-11 18:30:06 +02:00
62a3b1ed35
🐛 🚧 connected/disconnected + onAbort 2023-09-09 21:18:28 +02:00
20e95e33d4
Move reactive element to the S.el
⇒ cleanup/simplify signal registration
2023-09-08 20:16:42 +02:00
f632be61cf
href/src see #5 ♻️ renaming 2023-09-08 15:54:47 +02:00
eb8aa93f06
Add deps WeakMap for register/clear deps signals 2023-09-08 10:53:42 +02:00
9b77d65279
Add ddeSignal type to global scope + TODOs updated 2023-09-07 18:21:51 +02:00
6fae2fc4e6
Signals finalization 2023-09-07 17:35:23 +02:00
55a8f14b6b
🚧 types, linting, caching
♻️ add linting to codebase
♻️ Update prototype methods
🐛 update maxcomplexity in jshintConfig
♻️ Improve DOM element property handling
♻️ update setDelete function
 Add type annotation for signals()
♻️ Cleanup when signal removed
2023-09-07 13:52:09 +02:00
dbd8dd557b
♻️ Refactor jsdom register function 2023-09-06 14:54:02 +02:00
ec169ca740
🧱 add jsdom support 2023-09-05 11:01:29 +02:00
ba3194f960 dev-package (#15)
Reviewed-on: #15
2023-09-05 09:25:47 +02:00
421d1e9ede
🐛 Fix observerAdded and observerRemoved logic 2023-08-26 17:47:46 +02:00
f5adefbc9c
💥 Signals are now optional + reactive element
- `registerReactivity` can be used to register custom behavior
- Signals are automatically registered when `signals.js` is imported;
- `el("<>", signal, map)`
2023-08-26 17:32:58 +02:00
a36786042b
♻️ Refactore, add abort option 2023-08-26 12:20:01 +02:00
7f1506781f
🚀 simplify text, S⇔reactive?, todo as an example 2023-08-26 09:36:55 +02:00
77cb9cf626
Add signal listener, reactive and wrap object functions 2023-08-25 20:45:02 +02:00
5417ecea19
Add connected/disconnected observers 2023-08-25 12:04:58 +02:00
c8bf8dccaf
♻️ Rename listen to on 2023-08-25 12:04:15 +02:00