1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2025-07-01 04:12:14 +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

File diff suppressed because one or more lines are too long

13
dist/dde.js vendored

File diff suppressed because one or more lines are too long

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 {

File diff suppressed because one or more lines are too long

2
dist/esm.js vendored

File diff suppressed because one or more lines are too long