#26 - Loading animation + success message fix

This commit was merged in pull request #31.
This commit is contained in:
Martin Slachta
2026-06-22 11:20:28 +02:00
parent c754e18a82
commit 97ee8fc991
32 changed files with 597 additions and 175 deletions
@@ -0,0 +1,24 @@
/**
* Registry mapping custom element tag names to their renderer functions.
*/
export class RsvTemplateRegistry {
constructor() {
this.elements = new Map();
}
register(tag, renderer) {
this.elements.set(tag, renderer);
}
get(tag) {
return this.elements.get(tag) ?? null;
}
all() {
return this.elements;
}
has(tag) {
return this.elements.has(tag);
}
}