1 | export declare function addCssClass(element: HTMLElement, className: string): HTMLElement | undefined;
|
2 | export declare function removeCssClass(element: HTMLElement, className: string): void;
|
3 | export declare function addOrRemoveCssClass(element: HTMLElement, className: string, addOrRemove: boolean): void;
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | export declare function radioCssClass(element: HTMLElement, elementClass: string | null, otherElementClass?: string | null): void;
|
12 | export declare function containsClass(element: HTMLElement, className: string): boolean;
|
13 | export declare function isFocusableFormField(element: HTMLElement): boolean;
|
14 | export declare function setDisplayed(element: HTMLElement, displayed: boolean): void;
|
15 | export declare function setVisible(element: HTMLElement, visible: boolean): void;
|
16 | export declare function setDisabled(element: HTMLElement, disabled: boolean): void;
|
17 | export declare function isElementChildOfClass(element: HTMLElement | null, cls: string, maxNest?: number): boolean;
|
18 | export declare function getElementSize(el: HTMLElement): {
|
19 | height: number;
|
20 | width: number;
|
21 | paddingTop: number;
|
22 | paddingRight: number;
|
23 | paddingBottom: number;
|
24 | paddingLeft: number;
|
25 | marginTop: number;
|
26 | marginRight: number;
|
27 | marginBottom: number;
|
28 | marginLeft: number;
|
29 | boxSizing: string;
|
30 | };
|
31 | export declare function getInnerHeight(el: HTMLElement): number;
|
32 | export declare function getInnerWidth(el: HTMLElement): number;
|
33 | export declare function getAbsoluteHeight(el: HTMLElement): number;
|
34 | export declare function getAbsoluteWidth(el: HTMLElement): number;
|
35 | export declare function isRtlNegativeScroll(): boolean;
|
36 | export declare function getScrollLeft(element: HTMLElement, rtl: boolean): number;
|
37 | export declare function setScrollLeft(element: HTMLElement, value: number, rtl: boolean): void;
|
38 | export declare function clearElement(el: HTMLElement): void;
|
39 |
|
40 | export declare function removeElement(parent: HTMLElement, cssSelector: string): void;
|
41 | export declare function removeFromParent(node: Element | null): void;
|
42 | export declare function isVisible(element: HTMLElement): boolean;
|
43 |
|
44 |
|
45 |
|
46 |
|
47 |
|
48 |
|
49 | export declare function loadTemplate(template: string): HTMLElement;
|
50 | export declare function appendHtml(eContainer: HTMLElement, htmlTemplate: string): void;
|
51 |
|
52 | export declare function getElementAttribute(element: any, attributeName: string): string | null;
|
53 | export declare function offsetHeight(element: HTMLElement): number;
|
54 | export declare function offsetWidth(element: HTMLElement): number;
|
55 | export declare function ensureDomOrder(eContainer: HTMLElement, eChild: HTMLElement, eChildBefore?: HTMLElement | null): void;
|
56 | export declare function setDomChildOrder(eContainer: HTMLElement, orderedChildren: (HTMLElement | null)[]): void;
|
57 | export declare function insertWithDomOrder(eContainer: HTMLElement, eToInsert: HTMLElement, eChildBefore: HTMLElement | null): void;
|
58 |
|
59 | export declare function prependDC(parent: HTMLElement, documentFragment: DocumentFragment): void;
|
60 | export declare function addStylesToElement(eElement: any, styles: any): void;
|
61 | export declare function isHorizontalScrollShowing(element: HTMLElement): boolean;
|
62 | export declare function isVerticalScrollShowing(element: HTMLElement): boolean;
|
63 | export declare function setElementWidth(element: HTMLElement, width: string | number): void;
|
64 | export declare function setFixedWidth(element: HTMLElement, width: string | number): void;
|
65 | export declare function setElementHeight(element: HTMLElement, height: string | number): void;
|
66 | export declare function setFixedHeight(element: HTMLElement, height: string | number): void;
|
67 | export declare function formatSize(size: number | string): string;
|
68 |
|
69 |
|
70 |
|
71 |
|
72 |
|
73 |
|
74 | export declare function isNode(o: any): boolean;
|
75 |
|
76 |
|
77 |
|
78 |
|
79 |
|
80 |
|
81 | export declare function isElement(o: any): boolean;
|
82 | export declare function isNodeOrElement(o: any): boolean;
|
83 |
|
84 |
|
85 |
|
86 |
|
87 |
|
88 | export declare function copyNodeList(nodeList: NodeListOf<Node> | null): Node[];
|
89 | export declare function iterateNamedNodeMap(map: NamedNodeMap, callback: (key: string, value: string) => void): void;
|
90 |
|
91 | export declare function setCheckboxState(eCheckbox: HTMLInputElement, state: any): void;
|
92 | export declare function addOrRemoveAttribute(element: HTMLElement, name: string, value: any): void;
|
93 | export declare function nodeListForEach<T extends Node>(nodeList: NodeListOf<T> | null, action: (value: T) => void): void;
|