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

🚧 mainly wc/ce

This commit is contained in:
2023-11-22 17:39:46 +01:00
parent 56206343d1
commit 10ed0802f2
7 changed files with 132 additions and 82 deletions

3
signals.d.ts vendored
View File

@@ -54,8 +54,7 @@ interface S {
* */
el<S extends any>(signal: Signal<S, any>, el: (v: S)=> Element | Element[]): DocumentFragment;
/** Mirrors element attributes for current host (both way). */
attribute<T>(name: string, initial?: T): Signal<T, {}>
fromAttribute<T>(element: HTMLElement, name: string, value?: T): Signal<T, {}>;
}
export const S: S;
declare global {