1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2026-06-01 16:17:20 +02:00

S.attribute is the best option

This commit is contained in:
2023-11-22 21:29:40 +01:00
parent 10ed0802f2
commit efc5c34fc4
10 changed files with 58 additions and 53 deletions
+15 -14
View File
File diff suppressed because one or more lines are too long
Vendored
+7 -6
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -521,7 +521,7 @@ interface S {
* */
el<S extends any>(signal: Signal<S, any>, el: (v: S)=> Element | Element[]): DocumentFragment;
fromAttribute<T>(element: HTMLElement, name: string, value?: T): Signal<T, {}>;
attribute(name: string, initial?: string): Signal<string, {}>;
}
export const S: S;
declare global {
+4 -4
View File
File diff suppressed because one or more lines are too long
Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long