mirror of
https://github.com/jaandrle/deka-dom-el
synced 2025-07-29 07:00:16 +02:00
S.attribute
is the best option
This commit is contained in:
2
signals.d.ts
vendored
2
signals.d.ts
vendored
@@ -54,7 +54,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 {
|
||||
|
Reference in New Issue
Block a user