update to v2.1.0
add support for querySeletor add toHTMLElement clean up comments fix bug in README
This commit is contained in:
3
dist/fluent-dom-esm.types.d.ts
vendored
3
dist/fluent-dom-esm.types.d.ts
vendored
@@ -16,11 +16,14 @@ export interface FluentDomObject {
|
||||
id: (id: string) => FluentDomObject;
|
||||
l: (type: keyof HTMLElementEventMap, listener: () => {}, optionsOrUseCapture?: boolean | object) => FluentDomObject;
|
||||
listen: (type: keyof HTMLElementEventMap, listener: () => {}, optionsOrUseCapture?: boolean | object) => FluentDomObject;
|
||||
q: (selector: string) => FluentDomObject;
|
||||
querySelector: (selector: string) => FluentDomObject;
|
||||
s: ((prop: CSSStyleDeclaration) => FluentDomObject) | ((prop: string, value: string) => FluentDomObject);
|
||||
style: ((prop: CSSStyleDeclaration) => FluentDomObject) | ((prop: string, value: string) => FluentDomObject);
|
||||
t: (text: string) => FluentDomObject;
|
||||
text: (text: string) => FluentDomObject;
|
||||
title: (title: string) => FluentDomObject;
|
||||
toDom: () => HTMLElement | null;
|
||||
toHTMLElement: () => HTMLElement | null;
|
||||
unlisten: (type: keyof HTMLElementEventMap, listener: () => {}, optionsOrUseCapture?: boolean | object) => FluentDomObject;
|
||||
}
|
||||
|
Reference in New Issue
Block a user