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:
3
signals.d.ts
vendored
3
signals.d.ts
vendored
@@ -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 {
|
||||
|
Reference in New Issue
Block a user