1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2025-07-29 07:00:16 +02:00

🔤 converter

This commit is contained in:
2025-03-14 19:15:26 +01:00
parent 19b0e4666e
commit a2b0223c4f
5 changed files with 687 additions and 4 deletions

View File

@@ -5,6 +5,7 @@ export function loadIrelands(store) {
document.body.querySelectorAll("[data-dde-mark]").forEach(ireland => {
const { ddeMark }= ireland.dataset;
if(!store.has(ddeMark)) return;
ireland.querySelectorAll("input").forEach(input => input.disabled = true);
const { path, exportName, props }= store.get(ddeMark);
import("./"+path).then(module => {
ireland.replaceWith(el(module[exportName], props));