update to v2.2.0
add library version getter fix demo issues
This commit is contained in:
6
dist/fluent-dom-esm.types.d.ts
vendored
6
dist/fluent-dom-esm.types.d.ts
vendored
@@ -5,11 +5,11 @@ export interface FluentDomObject {
|
||||
append: (obj: FluentDomObject | HTMLElement | string) => FluentDomObject;
|
||||
attr: (name: string, value: string) => FluentDomObject;
|
||||
c: (tagName: string) => FluentDomObject;
|
||||
create: (tagName: string) => FluentDomObject;
|
||||
className: (className: string) => FluentDomObject;
|
||||
clear: () => FluentDomObject;
|
||||
cls: (className: string) => FluentDomObject;
|
||||
clr: () => FluentDomObject;
|
||||
cls: (className: string) => FluentDomObject;
|
||||
create: (tagName: string) => FluentDomObject;
|
||||
h: (url: string) => FluentDomObject;
|
||||
href: (url: string) => FluentDomObject;
|
||||
html: (content: string) => FluentDomObject;
|
||||
@@ -26,4 +26,6 @@ export interface FluentDomObject {
|
||||
toDom: () => HTMLElement | null;
|
||||
toHTMLElement: () => HTMLElement | null;
|
||||
unlisten: (type: keyof HTMLElementEventMap, listener: () => {}, optionsOrUseCapture?: boolean | object) => FluentDomObject;
|
||||
v: () => string;
|
||||
version: () => string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user