@genesislcap/foundation-utils 14.302.1-alpha-945e484.0 → 14.302.1-alpha-ecc0cfb.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +38 -38
- package/dist/dts/encoding/base64/decode.d.ts.map +1 -1
- package/dist/dts/encoding/base64/encode.d.ts.map +1 -1
- package/dist/dts/error/errorMap.d.ts +1 -1
- package/dist/dts/error/errorMap.d.ts.map +1 -1
- package/dist/dts/formatters/datetime.d.ts.map +1 -1
- package/dist/dts/formatters/number.d.ts.map +1 -1
- package/dist/dts/mappers/dto/serverRow.d.ts.map +1 -1
- package/dist/dts/mixins/lifecycle/lifecycle.d.ts +223 -264
- package/dist/dts/mixins/lifecycle/lifecycle.d.ts.map +1 -1
- package/dist/dts/mixins/pendingState/pendingState.d.ts +216 -257
- package/dist/dts/mixins/pendingState/pendingState.d.ts.map +1 -1
- package/dist/dts/observer/observer.d.ts.map +1 -1
- package/dist/dts/promise/resolveAfter.d.ts.map +1 -1
- package/dist/dts/serializers/json/json.d.ts.map +1 -1
- package/dist/dts/serializers/json/types.d.ts.map +1 -1
- package/dist/dts/styles/dom.d.ts.map +1 -1
- package/dist/dts/styles/typography.d.ts.map +1 -1
- package/dist/dts/tsdoc-metadata.json +1 -1
- package/dist/dts/utils/delay.d.ts.map +1 -1
- package/dist/dts/window/window.d.ts.map +1 -1
- package/dist/esm/mixins/lifecycle/lifecycle.js +5 -5
- package/dist/esm/mixins/pendingState/pendingState.js +2 -2
- package/dist/esm/uuid/uuid.js +2 -2
- package/dist/foundation-utils.api.json +708 -2075
- package/dist/foundation-utils.d.ts +440 -522
- package/docs/api/foundation-utils.assuredesignsystem.md +3 -31
- package/docs/api/foundation-utils.createerrormap.md +1 -44
- package/docs/api/foundation-utils.createlogger.md +4 -49
- package/docs/api/foundation-utils.createobserver.md +1 -5
- package/docs/api/foundation-utils.customnumberparser.md +3 -31
- package/docs/api/foundation-utils.database.create.md +3 -31
- package/docs/api/foundation-utils.database.delete.md +3 -31
- package/docs/api/foundation-utils.database.md +12 -114
- package/docs/api/foundation-utils.database.onafterupdate.md +3 -31
- package/docs/api/foundation-utils.database.onbeforeupdate.md +3 -31
- package/docs/api/foundation-utils.database.read.md +3 -31
- package/docs/api/foundation-utils.database.update.md +4 -45
- package/docs/api/foundation-utils.database.visit.md +3 -31
- package/docs/api/foundation-utils.databaseaccessresult.access.md +3 -39
- package/docs/api/foundation-utils.databaseaccessresult.delete.md +4 -56
- package/docs/api/foundation-utils.databaseaccessresult.md +7 -57
- package/docs/api/foundation-utils.databaseevent.beforeupdate.md +3 -39
- package/docs/api/foundation-utils.databaseevent.md +5 -39
- package/docs/api/foundation-utils.databaseevent.update.md +3 -39
- package/docs/api/foundation-utils.databaserecord.md +3 -39
- package/docs/api/foundation-utils.decodefrombase64.md +1 -42
- package/docs/api/foundation-utils.decodefrombase64withprefix.md +1 -43
- package/docs/api/foundation-utils.defaulterrormap._constructor_.md +3 -33
- package/docs/api/foundation-utils.defaulterrormap.delete.md +3 -33
- package/docs/api/foundation-utils.defaulterrormap.get.md +3 -33
- package/docs/api/foundation-utils.defaulterrormap.has.md +3 -33
- package/docs/api/foundation-utils.defaulterrormap.md +16 -214
- package/docs/api/foundation-utils.defaulterrormap.set.md +4 -49
- package/docs/api/foundation-utils.defaulterrormap.values.md +2 -2
- package/docs/api/foundation-utils.defaultserverrowdtomapper.md +4 -60
- package/docs/api/foundation-utils.delay.md +1 -43
- package/docs/api/foundation-utils.designsystemmodule.md +3 -21
- package/docs/api/foundation-utils.designsystemmodule.providedesignsystem.md +4 -49
- package/docs/api/foundation-utils.dtomapper.md +5 -75
- package/docs/api/foundation-utils.encodetobase64.md +1 -44
- package/docs/api/foundation-utils.encodetobase64withprefix.md +1 -43
- package/docs/api/foundation-utils.errormap.md +7 -87
- package/docs/api/foundation-utils.errormap.set.md +4 -49
- package/docs/api/foundation-utils.fontstyle.md +4 -45
- package/docs/api/foundation-utils.fontweight.md +8 -101
- package/docs/api/foundation-utils.formatdatetimestamp.md +3 -31
- package/docs/api/foundation-utils.formatdatetimetimestamp.md +3 -31
- package/docs/api/foundation-utils.formatdatetimetimestampwithmilliseconds.md +3 -31
- package/docs/api/foundation-utils.formattimestamp.md +4 -49
- package/docs/api/foundation-utils.genesis.md +8 -60
- package/docs/api/foundation-utils.getcurrentdesignsystemprefix.md +4 -49
- package/docs/api/foundation-utils.getdateformatter.md +4 -49
- package/docs/api/foundation-utils.getfontmixin.md +1 -76
- package/docs/api/foundation-utils.getnumberformatter.md +4 -47
- package/docs/api/foundation-utils.iniframe.md +1 -7
- package/docs/api/foundation-utils.inmemorydatabase._constructor_.md +3 -31
- package/docs/api/foundation-utils.inmemorydatabase.create.md +3 -31
- package/docs/api/foundation-utils.inmemorydatabase.delete.md +3 -31
- package/docs/api/foundation-utils.inmemorydatabase.md +15 -171
- package/docs/api/foundation-utils.inmemorydatabase.onafterupdate.md +3 -31
- package/docs/api/foundation-utils.inmemorydatabase.onbeforeupdate.md +3 -31
- package/docs/api/foundation-utils.inmemorydatabase.read.md +3 -31
- package/docs/api/foundation-utils.inmemorydatabase.update.md +4 -45
- package/docs/api/foundation-utils.inmemorydatabase.visit.md +3 -31
- package/docs/api/foundation-utils.insertdocumentcssrule.md +1 -60
- package/docs/api/foundation-utils.insertdocumentlink.md +1 -42
- package/docs/api/foundation-utils.insymphonydesktop.md +1 -7
- package/docs/api/foundation-utils.isdev.md +1 -5
- package/docs/api/foundation-utils.jsonreplacer.md +4 -49
- package/docs/api/foundation-utils.jsonreviver.md +4 -49
- package/docs/api/foundation-utils.jsonserializer.deserialize.md +3 -33
- package/docs/api/foundation-utils.jsonserializer.deserialize_1.md +3 -33
- package/docs/api/foundation-utils.jsonserializer.deserialize_2.md +3 -33
- package/docs/api/foundation-utils.jsonserializer.serialize.md +3 -33
- package/docs/api/foundation-utils.jsonserializerconfig.md +6 -48
- package/docs/api/foundation-utils.jsonserializerconfig.parse.md +4 -47
- package/docs/api/foundation-utils.jsonserializerconfig.parse_1.md +5 -63
- package/docs/api/foundation-utils.jsonserializerconfig.stringify.md +5 -63
- package/docs/api/foundation-utils.jsonserializerconfig.stringify_1.md +5 -63
- package/docs/api/foundation-utils.lifecyclemixin.md +224 -303
- package/docs/api/foundation-utils.loadfontfaces.md +1 -58
- package/docs/api/foundation-utils.logger.deprecated.md +5 -65
- package/docs/api/foundation-utils.mapgenesisjsonschema.md +3 -31
- package/docs/api/foundation-utils.mapjsonschemafieldtoexprbuilderfield.md +3 -31
- package/docs/api/foundation-utils.md +129 -1301
- package/docs/api/foundation-utils.numberparser._constructor_.md +3 -31
- package/docs/api/foundation-utils.numberparser.hasseparator.md +3 -31
- package/docs/api/foundation-utils.numberparser.md +7 -72
- package/docs/api/foundation-utils.numberparser.parse.md +3 -31
- package/docs/api/foundation-utils.objectvisitor.md +5 -45
- package/docs/api/foundation-utils.objectvisitor.visitarray.md +4 -45
- package/docs/api/foundation-utils.objectvisitor.visitobject.md +4 -45
- package/docs/api/foundation-utils.objectvisitor.visitproperty.md +6 -73
- package/docs/api/foundation-utils.observer.md +4 -56
- package/docs/api/foundation-utils.openpopup.md +1 -92
- package/docs/api/foundation-utils.pendingstate.md +217 -297
- package/docs/api/foundation-utils.pendingstateevents.md +4 -45
- package/docs/api/foundation-utils.reactive.md +4 -49
- package/docs/api/foundation-utils.renderonchange.md +4 -49
- package/docs/api/foundation-utils.resolveafter.md +1 -53
- package/docs/api/foundation-utils.respondtovisibility.md +1 -58
- package/docs/api/foundation-utils.slottedstyles.md +6 -72
- package/docs/api/foundation-utils.slottedstyles.styleschanged.md +4 -49
- package/docs/api/foundation-utils.sync.md +6 -79
- package/docs/api/foundation-utils.toelementstyles.md +3 -33
- package/docs/api/foundation-utils.uuid.createid.md +3 -33
- package/docs/api/foundation-utils.uuid.createremoteid.md +3 -33
- package/docs/api/foundation-utils.visitobject.md +7 -97
- package/docs/api/foundation-utils.whenelse.md +5 -65
- package/docs/api/index.md +3 -21
- package/package.json +11 -11
- package/docs/api-report.md.api.md +0 -1350
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [LifecycleMixin](./foundation-utils.lifecyclemixin.md)
|
|
4
4
|
|
|
5
|
-
## LifecycleMixin
|
|
5
|
+
## LifecycleMixin variable
|
|
6
6
|
|
|
7
7
|
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
8
|
>
|
|
@@ -14,26 +14,25 @@ Mixin class to expose `shouldRunConnect` and `shouldRunDisconnect`
|
|
|
14
14
|
```typescript
|
|
15
15
|
LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T) => {
|
|
16
16
|
new (...args: any[]): {
|
|
17
|
-
#_container: Container;
|
|
18
|
-
#_latestTokenCode: string;
|
|
19
|
-
#_hasFirstLoaded: boolean;
|
|
20
|
-
#_cleanupTimeout: NodeJS.Timeout;
|
|
21
|
-
#_shouldForceLifecycle: boolean;
|
|
17
|
+
"__#1@#_container": Container;
|
|
18
|
+
"__#1@#_latestTokenCode": string;
|
|
19
|
+
"__#1@#_hasFirstLoaded": boolean;
|
|
20
|
+
"__#1@#_cleanupTimeout": NodeJS.Timeout;
|
|
21
|
+
"__#1@#_shouldForceLifecycle": boolean;
|
|
22
22
|
cloneNode(deep?: boolean): Node;
|
|
23
23
|
deepClone(): Node;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
#_blockLifecycleDueToTokenChange(lifecycleType: Lifecycletype): boolean;
|
|
27
|
-
#_tryFindContainingLayout(e: Element): Container;
|
|
24
|
+
readonly shouldRunDisconnect: boolean;
|
|
25
|
+
readonly shouldRunConnect: boolean;
|
|
26
|
+
"__#1@#_blockLifecycleDueToTokenChange"(lifecycleType: Lifecycletype): boolean;
|
|
27
|
+
"__#1@#_tryFindContainingLayout"(e: Element): Container;
|
|
28
28
|
connectedCallback(): void;
|
|
29
29
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
30
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit
|
|
30
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
|
|
31
31
|
disconnectedCallback(): void;
|
|
32
32
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
33
33
|
accessKey: string;
|
|
34
34
|
readonly accessKeyLabel: string;
|
|
35
35
|
autocapitalize: string;
|
|
36
|
-
autocorrect: boolean;
|
|
37
36
|
dir: string;
|
|
38
37
|
draggable: boolean;
|
|
39
38
|
hidden: boolean;
|
|
@@ -42,90 +41,74 @@ LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T) => {
|
|
|
42
41
|
lang: string;
|
|
43
42
|
readonly offsetHeight: number;
|
|
44
43
|
readonly offsetLeft: number;
|
|
45
|
-
readonly offsetParent: Element
|
|
44
|
+
readonly offsetParent: Element;
|
|
46
45
|
readonly offsetTop: number;
|
|
47
46
|
readonly offsetWidth: number;
|
|
48
47
|
outerText: string;
|
|
49
|
-
popover: string | null;
|
|
50
48
|
spellcheck: boolean;
|
|
51
49
|
title: string;
|
|
52
50
|
translate: boolean;
|
|
53
|
-
writingSuggestions: string;
|
|
54
51
|
attachInternals(): ElementInternals;
|
|
55
52
|
click(): void;
|
|
56
|
-
hidePopover(): void;
|
|
57
|
-
showPopover(): void;
|
|
58
|
-
togglePopover(options?: boolean): boolean;
|
|
59
53
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
60
54
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
61
|
-
removeEventListener<
|
|
55
|
+
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
62
56
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
63
57
|
readonly attributes: NamedNodeMap;
|
|
64
|
-
|
|
65
|
-
set classList(value: string);
|
|
58
|
+
readonly classList: DOMTokenList;
|
|
66
59
|
className: string;
|
|
67
60
|
readonly clientHeight: number;
|
|
68
61
|
readonly clientLeft: number;
|
|
69
62
|
readonly clientTop: number;
|
|
70
63
|
readonly clientWidth: number;
|
|
71
|
-
readonly currentCSSZoom: number;
|
|
72
64
|
id: string;
|
|
73
|
-
innerHTML: string;
|
|
74
65
|
readonly localName: string;
|
|
75
|
-
readonly namespaceURI: string
|
|
66
|
+
readonly namespaceURI: string;
|
|
76
67
|
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
77
68
|
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
78
69
|
outerHTML: string;
|
|
79
70
|
readonly ownerDocument: Document;
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
readonly prefix: string | null;
|
|
71
|
+
readonly part: DOMTokenList;
|
|
72
|
+
readonly prefix: string;
|
|
83
73
|
readonly scrollHeight: number;
|
|
84
74
|
scrollLeft: number;
|
|
85
75
|
scrollTop: number;
|
|
86
76
|
readonly scrollWidth: number;
|
|
87
|
-
readonly shadowRoot: ShadowRoot
|
|
77
|
+
readonly shadowRoot: ShadowRoot;
|
|
88
78
|
slot: string;
|
|
89
79
|
readonly tagName: string;
|
|
90
80
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
91
|
-
|
|
92
|
-
closest<
|
|
93
|
-
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K];
|
|
94
|
-
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K];
|
|
81
|
+
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
82
|
+
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
95
83
|
closest<E extends Element = Element>(selectors: string): E;
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
84
|
+
getAttribute(qualifiedName: string): string;
|
|
85
|
+
getAttributeNS(namespace: string, localName: string): string;
|
|
99
86
|
getAttributeNames(): string[];
|
|
100
|
-
getAttributeNode(qualifiedName: string): Attr
|
|
101
|
-
getAttributeNodeNS(namespace: string
|
|
87
|
+
getAttributeNode(qualifiedName: string): Attr;
|
|
88
|
+
getAttributeNodeNS(namespace: string, localName: string): Attr;
|
|
102
89
|
getBoundingClientRect(): DOMRect;
|
|
103
90
|
getClientRects(): DOMRectList;
|
|
104
91
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
105
|
-
getElementsByTagName<
|
|
106
|
-
getElementsByTagName<
|
|
107
|
-
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
108
|
-
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
92
|
+
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
93
|
+
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
|
109
94
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
110
95
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
111
96
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
112
|
-
getElementsByTagNameNS(
|
|
113
|
-
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
114
|
-
getHTML(options?: GetHTMLOptions): string;
|
|
97
|
+
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
115
98
|
hasAttribute(qualifiedName: string): boolean;
|
|
116
|
-
hasAttributeNS(namespace: string
|
|
99
|
+
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
117
100
|
hasAttributes(): boolean;
|
|
118
101
|
hasPointerCapture(pointerId: number): boolean;
|
|
119
|
-
insertAdjacentElement(where: InsertPosition, element: Element): Element
|
|
120
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
102
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element;
|
|
103
|
+
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
121
104
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
122
105
|
matches(selectors: string): boolean;
|
|
123
106
|
releasePointerCapture(pointerId: number): void;
|
|
124
107
|
removeAttribute(qualifiedName: string): void;
|
|
125
|
-
removeAttributeNS(namespace: string
|
|
108
|
+
removeAttributeNS(namespace: string, localName: string): void;
|
|
126
109
|
removeAttributeNode(attr: Attr): Attr;
|
|
127
110
|
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
128
|
-
requestPointerLock(
|
|
111
|
+
requestPointerLock(): void;
|
|
129
112
|
scroll(options?: ScrollToOptions): void;
|
|
130
113
|
scroll(x: number, y: number): void;
|
|
131
114
|
scrollBy(options?: ScrollToOptions): void;
|
|
@@ -134,244 +117,220 @@ LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T) => {
|
|
|
134
117
|
scrollTo(options?: ScrollToOptions): void;
|
|
135
118
|
scrollTo(x: number, y: number): void;
|
|
136
119
|
setAttribute(qualifiedName: string, value: string): void;
|
|
137
|
-
setAttributeNS(namespace: string
|
|
138
|
-
setAttributeNode(attr: Attr): Attr
|
|
139
|
-
setAttributeNodeNS(attr: Attr): Attr
|
|
140
|
-
setHTMLUnsafe(html: string): void;
|
|
120
|
+
setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
|
|
121
|
+
setAttributeNode(attr: Attr): Attr;
|
|
122
|
+
setAttributeNodeNS(attr: Attr): Attr;
|
|
141
123
|
setPointerCapture(pointerId: number): void;
|
|
142
124
|
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
143
125
|
webkitMatchesSelector(selectors: string): boolean;
|
|
144
|
-
textContent: string;
|
|
145
126
|
readonly baseURI: string;
|
|
146
127
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
147
|
-
readonly firstChild: ChildNode
|
|
128
|
+
readonly firstChild: ChildNode;
|
|
148
129
|
readonly isConnected: boolean;
|
|
149
|
-
readonly lastChild: ChildNode
|
|
150
|
-
readonly nextSibling: ChildNode
|
|
130
|
+
readonly lastChild: ChildNode;
|
|
131
|
+
readonly nextSibling: ChildNode;
|
|
151
132
|
readonly nodeName: string;
|
|
152
133
|
readonly nodeType: number;
|
|
153
|
-
nodeValue: string
|
|
154
|
-
readonly parentElement: HTMLElement
|
|
155
|
-
readonly parentNode: ParentNode
|
|
156
|
-
readonly previousSibling: ChildNode
|
|
134
|
+
nodeValue: string;
|
|
135
|
+
readonly parentElement: HTMLElement;
|
|
136
|
+
readonly parentNode: ParentNode;
|
|
137
|
+
readonly previousSibling: ChildNode;
|
|
138
|
+
textContent: string;
|
|
157
139
|
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
158
140
|
compareDocumentPosition(other: Node): number;
|
|
159
|
-
contains(other: Node
|
|
141
|
+
contains(other: Node): boolean;
|
|
160
142
|
getRootNode(options?: GetRootNodeOptions): Node;
|
|
161
143
|
hasChildNodes(): boolean;
|
|
162
|
-
insertBefore<
|
|
163
|
-
isDefaultNamespace(namespace: string
|
|
164
|
-
isEqualNode(otherNode: Node
|
|
165
|
-
isSameNode(otherNode: Node
|
|
166
|
-
lookupNamespaceURI(prefix: string
|
|
167
|
-
lookupPrefix(namespace: string
|
|
144
|
+
insertBefore<T_2 extends Node>(node: T_2, child: Node): T_2;
|
|
145
|
+
isDefaultNamespace(namespace: string): boolean;
|
|
146
|
+
isEqualNode(otherNode: Node): boolean;
|
|
147
|
+
isSameNode(otherNode: Node): boolean;
|
|
148
|
+
lookupNamespaceURI(prefix: string): string;
|
|
149
|
+
lookupPrefix(namespace: string): string;
|
|
168
150
|
normalize(): void;
|
|
169
|
-
removeChild<
|
|
170
|
-
replaceChild<
|
|
171
|
-
readonly
|
|
172
|
-
readonly
|
|
173
|
-
readonly
|
|
174
|
-
readonly
|
|
175
|
-
readonly
|
|
176
|
-
readonly
|
|
177
|
-
readonly
|
|
178
|
-
readonly
|
|
179
|
-
readonly
|
|
180
|
-
readonly
|
|
181
|
-
readonly
|
|
182
|
-
readonly
|
|
183
|
-
readonly
|
|
184
|
-
readonly
|
|
185
|
-
readonly
|
|
186
|
-
readonly
|
|
187
|
-
readonly
|
|
188
|
-
readonly
|
|
151
|
+
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
152
|
+
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
153
|
+
readonly ATTRIBUTE_NODE: number;
|
|
154
|
+
readonly CDATA_SECTION_NODE: number;
|
|
155
|
+
readonly COMMENT_NODE: number;
|
|
156
|
+
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
157
|
+
readonly DOCUMENT_NODE: number;
|
|
158
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
159
|
+
readonly DOCUMENT_POSITION_CONTAINS: number;
|
|
160
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
|
161
|
+
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
|
162
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
|
163
|
+
readonly DOCUMENT_POSITION_PRECEDING: number;
|
|
164
|
+
readonly DOCUMENT_TYPE_NODE: number;
|
|
165
|
+
readonly ELEMENT_NODE: number;
|
|
166
|
+
readonly ENTITY_NODE: number;
|
|
167
|
+
readonly ENTITY_REFERENCE_NODE: number;
|
|
168
|
+
readonly NOTATION_NODE: number;
|
|
169
|
+
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
170
|
+
readonly TEXT_NODE: number;
|
|
189
171
|
dispatchEvent(event: Event): boolean;
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
ariaRowIndex: string | null;
|
|
232
|
-
ariaRowIndexText: string | null;
|
|
233
|
-
ariaRowSpan: string | null;
|
|
234
|
-
ariaSelected: string | null;
|
|
235
|
-
ariaSetSize: string | null;
|
|
236
|
-
ariaSort: string | null;
|
|
237
|
-
ariaValueMax: string | null;
|
|
238
|
-
ariaValueMin: string | null;
|
|
239
|
-
ariaValueNow: string | null;
|
|
240
|
-
ariaValueText: string | null;
|
|
241
|
-
role: string | null;
|
|
242
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
172
|
+
ariaAtomic: string;
|
|
173
|
+
ariaAutoComplete: string;
|
|
174
|
+
ariaBusy: string;
|
|
175
|
+
ariaChecked: string;
|
|
176
|
+
ariaColCount: string;
|
|
177
|
+
ariaColIndex: string;
|
|
178
|
+
ariaColIndexText: string;
|
|
179
|
+
ariaColSpan: string;
|
|
180
|
+
ariaCurrent: string;
|
|
181
|
+
ariaDisabled: string;
|
|
182
|
+
ariaExpanded: string;
|
|
183
|
+
ariaHasPopup: string;
|
|
184
|
+
ariaHidden: string;
|
|
185
|
+
ariaInvalid: string;
|
|
186
|
+
ariaKeyShortcuts: string;
|
|
187
|
+
ariaLabel: string;
|
|
188
|
+
ariaLevel: string;
|
|
189
|
+
ariaLive: string;
|
|
190
|
+
ariaModal: string;
|
|
191
|
+
ariaMultiLine: string;
|
|
192
|
+
ariaMultiSelectable: string;
|
|
193
|
+
ariaOrientation: string;
|
|
194
|
+
ariaPlaceholder: string;
|
|
195
|
+
ariaPosInSet: string;
|
|
196
|
+
ariaPressed: string;
|
|
197
|
+
ariaReadOnly: string;
|
|
198
|
+
ariaRequired: string;
|
|
199
|
+
ariaRoleDescription: string;
|
|
200
|
+
ariaRowCount: string;
|
|
201
|
+
ariaRowIndex: string;
|
|
202
|
+
ariaRowIndexText: string;
|
|
203
|
+
ariaRowSpan: string;
|
|
204
|
+
ariaSelected: string;
|
|
205
|
+
ariaSetSize: string;
|
|
206
|
+
ariaSort: string;
|
|
207
|
+
ariaValueMax: string;
|
|
208
|
+
ariaValueMin: string;
|
|
209
|
+
ariaValueNow: string;
|
|
210
|
+
ariaValueText: string;
|
|
211
|
+
role: string;
|
|
212
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes, options?: number | KeyframeAnimationOptions): Animation;
|
|
243
213
|
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
244
|
-
after(...nodes: (
|
|
245
|
-
before(...nodes: (
|
|
214
|
+
after(...nodes: (string | Node)[]): void;
|
|
215
|
+
before(...nodes: (string | Node)[]): void;
|
|
246
216
|
remove(): void;
|
|
247
|
-
replaceWith(...nodes: (
|
|
248
|
-
|
|
249
|
-
readonly
|
|
217
|
+
replaceWith(...nodes: (string | Node)[]): void;
|
|
218
|
+
innerHTML: string;
|
|
219
|
+
readonly nextElementSibling: Element;
|
|
220
|
+
readonly previousElementSibling: Element;
|
|
250
221
|
readonly childElementCount: number;
|
|
251
222
|
readonly children: HTMLCollection;
|
|
252
|
-
readonly firstElementChild: Element
|
|
253
|
-
readonly lastElementChild: Element
|
|
254
|
-
append(...nodes: (
|
|
255
|
-
prepend(...nodes: (
|
|
256
|
-
querySelector<
|
|
257
|
-
querySelector<
|
|
258
|
-
querySelector<
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
querySelectorAll<
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
readonly
|
|
268
|
-
readonly attributeStyleMap: StylePropertyMap;
|
|
269
|
-
get style(): CSSStyleDeclaration;
|
|
270
|
-
set style(cssText: string);
|
|
223
|
+
readonly firstElementChild: Element;
|
|
224
|
+
readonly lastElementChild: Element;
|
|
225
|
+
append(...nodes: (string | Node)[]): void;
|
|
226
|
+
prepend(...nodes: (string | Node)[]): void;
|
|
227
|
+
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
|
|
228
|
+
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
|
|
229
|
+
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
230
|
+
querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
|
|
231
|
+
querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
|
|
232
|
+
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
233
|
+
replaceChildren(...nodes: (string | Node)[]): void;
|
|
234
|
+
readonly assignedSlot: HTMLSlotElement;
|
|
235
|
+
oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
236
|
+
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
237
|
+
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
238
|
+
readonly style: CSSStyleDeclaration;
|
|
271
239
|
contentEditable: string;
|
|
272
240
|
enterKeyHint: string;
|
|
273
241
|
inputMode: string;
|
|
274
242
|
readonly isContentEditable: boolean;
|
|
275
|
-
onabort: (
|
|
276
|
-
onanimationcancel: (
|
|
277
|
-
onanimationend: (
|
|
278
|
-
onanimationiteration: (
|
|
279
|
-
onanimationstart: (
|
|
280
|
-
onauxclick: (
|
|
281
|
-
onbeforeinput: (
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
367
|
-
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
368
|
-
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
369
|
-
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
370
|
-
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
371
|
-
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
372
|
-
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
373
|
-
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
374
|
-
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
243
|
+
onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
244
|
+
onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
245
|
+
onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
246
|
+
onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
247
|
+
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
248
|
+
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
249
|
+
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
250
|
+
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
251
|
+
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
252
|
+
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
253
|
+
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
|
|
254
|
+
onchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
255
|
+
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
256
|
+
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
257
|
+
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
258
|
+
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
259
|
+
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
260
|
+
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
261
|
+
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
262
|
+
ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
263
|
+
ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
264
|
+
ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
265
|
+
ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
266
|
+
ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
267
|
+
ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
268
|
+
onemptied: (this: GlobalEventHandlers, ev: Event) => any;
|
|
269
|
+
onended: (this: GlobalEventHandlers, ev: Event) => any;
|
|
270
|
+
onerror: OnErrorEventHandlerNonNull;
|
|
271
|
+
onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
272
|
+
onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
|
|
273
|
+
ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
274
|
+
oninput: (this: GlobalEventHandlers, ev: Event) => any;
|
|
275
|
+
oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
|
|
276
|
+
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
277
|
+
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
278
|
+
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
279
|
+
onload: (this: GlobalEventHandlers, ev: Event) => any;
|
|
280
|
+
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
281
|
+
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
282
|
+
onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
283
|
+
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
284
|
+
onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
285
|
+
onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
286
|
+
onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
287
|
+
onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
288
|
+
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
289
|
+
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
290
|
+
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
291
|
+
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
292
|
+
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
293
|
+
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
294
|
+
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
295
|
+
onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
296
|
+
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
297
|
+
onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
298
|
+
onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
299
|
+
onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
300
|
+
onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
301
|
+
onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
302
|
+
onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
|
|
303
|
+
onratechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
304
|
+
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
305
|
+
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
306
|
+
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
307
|
+
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
308
|
+
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
309
|
+
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
|
310
|
+
onselect: (this: GlobalEventHandlers, ev: Event) => any;
|
|
311
|
+
onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
312
|
+
onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
313
|
+
onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
314
|
+
onstalled: (this: GlobalEventHandlers, ev: Event) => any;
|
|
315
|
+
onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
|
|
316
|
+
onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
317
|
+
ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
|
|
318
|
+
ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
319
|
+
ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
320
|
+
ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
321
|
+
ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
322
|
+
ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
323
|
+
ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
324
|
+
ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
325
|
+
ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
326
|
+
ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
327
|
+
onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
328
|
+
onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
|
|
329
|
+
onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
330
|
+
onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
|
|
331
|
+
onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
332
|
+
onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
333
|
+
onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
|
|
375
334
|
autofocus: boolean;
|
|
376
335
|
readonly dataset: DOMStringMap;
|
|
377
336
|
nonce?: string;
|
|
@@ -382,44 +341,6 @@ LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T) => {
|
|
|
382
341
|
} & T
|
|
383
342
|
```
|
|
384
343
|
|
|
385
|
-
## Parameters
|
|
386
|
-
|
|
387
|
-
<table><thead><tr><th>
|
|
388
|
-
|
|
389
|
-
Parameter
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
</th><th>
|
|
393
|
-
|
|
394
|
-
Type
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
</th><th>
|
|
398
|
-
|
|
399
|
-
Description
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
</th></tr></thead>
|
|
403
|
-
<tbody><tr><td>
|
|
404
|
-
|
|
405
|
-
Base
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
</td><td>
|
|
409
|
-
|
|
410
|
-
T
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
</td><td>
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
</td></tr>
|
|
417
|
-
</tbody></table>
|
|
418
|
-
|
|
419
|
-
**Returns:**
|
|
420
|
-
|
|
421
|
-
{ new (...args: any\[\]): { \#\_container: Container; \#\_latestTokenCode: string; \#\_hasFirstLoaded: boolean; \#\_cleanupTimeout: NodeJS.Timeout; \#\_shouldForceLifecycle: boolean; cloneNode(deep?: boolean): Node; deepClone(): Node; get shouldRunDisconnect(): boolean; get shouldRunConnect(): boolean; \#\_blockLifecycleDueToTokenChange(lifecycleType: Lifecycletype): boolean; \#\_tryFindContainingLayout(e: Element): Container; connectedCallback(): void; readonly $fastController: import("@microsoft/fast-element").Controller; $emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean \| void; disconnectedCallback(): void; attributeChangedCallback(name: string, oldValue: string, newValue: string): void; accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; autocorrect: boolean; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; readonly offsetLeft: number; readonly offsetParent: Element \| null; readonly offsetTop: number; readonly offsetWidth: number; outerText: string; popover: string \| null; spellcheck: boolean; title: string; translate: boolean; writingSuggestions: string; attachInternals(): ElementInternals; click(): void; hidePopover(): void; showPopover(): void; togglePopover(options?: boolean): boolean; addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap\[K\]) => any, options?: boolean \| AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean \| AddEventListenerOptions): void; removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap\[K\]) => any, options?: boolean \| EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean \| EventListenerOptions): void; readonly attributes: NamedNodeMap; get classList(): DOMTokenList; set classList(value: string); className: string; readonly clientHeight: number; readonly clientLeft: number; readonly clientTop: number; readonly clientWidth: number; readonly currentCSSZoom: number; id: string; innerHTML: string; readonly localName: string; readonly namespaceURI: string \| null; onfullscreenchange: (this: Element, ev: Event) => any; onfullscreenerror: (this: Element, ev: Event) => any; outerHTML: string; readonly ownerDocument: Document; get part(): DOMTokenList; set part(value: string); readonly prefix: string \| null; readonly scrollHeight: number; scrollLeft: number; scrollTop: number; readonly scrollWidth: number; readonly shadowRoot: ShadowRoot \| null; slot: string; readonly tagName: string; attachShadow(init: ShadowRootInit): ShadowRoot; checkVisibility(options?: CheckVisibilityOptions): boolean; closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap\[K\]; closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap\[K\]; closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap\[K\]; closest<E extends Element = Element>(selectors: string): E; computedStyleMap(): StylePropertyMapReadOnly; getAttribute(qualifiedName: string): string \| null; getAttributeNS(namespace: string \| null, localName: string): string \| null; getAttributeNames(): string\[\]; getAttributeNode(qualifiedName: string): Attr \| null; getAttributeNodeNS(namespace: string \| null, localName: string): Attr \| null; getBoundingClientRect(): DOMRect; getClientRects(): DOMRectList; getElementsByClassName(classNames: string): HTMLCollectionOf<Element>; getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap\[K\]>; getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap\[K\]>; getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap\[K\]>; getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap\[K\]>; getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>; getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>; getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>; getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>; getElementsByTagNameNS(namespace: string \| null, localName: string): HTMLCollectionOf<Element>; getHTML(options?: GetHTMLOptions): string; hasAttribute(qualifiedName: string): boolean; hasAttributeNS(namespace: string \| null, localName: string): boolean; hasAttributes(): boolean; hasPointerCapture(pointerId: number): boolean; insertAdjacentElement(where: InsertPosition, element: Element): Element \| null; insertAdjacentHTML(position: InsertPosition, string: string): void; insertAdjacentText(where: InsertPosition, data: string): void; matches(selectors: string): boolean; releasePointerCapture(pointerId: number): void; removeAttribute(qualifiedName: string): void; removeAttributeNS(namespace: string \| null, localName: string): void; removeAttributeNode(attr: Attr): Attr; requestFullscreen(options?: FullscreenOptions): Promise<void>; requestPointerLock(options?: PointerLockOptions): Promise<void>; scroll(options?: ScrollToOptions): void; scroll(x: number, y: number): void; scrollBy(options?: ScrollToOptions): void; scrollBy(x: number, y: number): void; scrollIntoView(arg?: boolean \| ScrollIntoViewOptions): void; scrollTo(options?: ScrollToOptions): void; scrollTo(x: number, y: number): void; setAttribute(qualifiedName: string, value: string): void; setAttributeNS(namespace: string \| null, qualifiedName: string, value: string): void; setAttributeNode(attr: Attr): Attr \| null; setAttributeNodeNS(attr: Attr): Attr \| null; setHTMLUnsafe(html: string): void; setPointerCapture(pointerId: number): void; toggleAttribute(qualifiedName: string, force?: boolean): boolean; webkitMatchesSelector(selectors: string): boolean; textContent: string; readonly baseURI: string; readonly childNodes: NodeListOf<ChildNode>; readonly firstChild: ChildNode \| null; readonly isConnected: boolean; readonly lastChild: ChildNode \| null; readonly nextSibling: ChildNode \| null; readonly nodeName: string; readonly nodeType: number; nodeValue: string \| null; readonly parentElement: HTMLElement \| null; readonly parentNode: ParentNode \| null; readonly previousSibling: ChildNode \| null; appendChild<T\_1 extends Node>(node: T\_1): T\_1; compareDocumentPosition(other: Node): number; contains(other: Node \| null): boolean; getRootNode(options?: GetRootNodeOptions): Node; hasChildNodes(): boolean; insertBefore<T\_1 extends Node>(node: T\_1, child: Node \| null): T\_1; isDefaultNamespace(namespace: string \| null): boolean; isEqualNode(otherNode: Node \| null): boolean; isSameNode(otherNode: Node \| null): boolean; lookupNamespaceURI(prefix: string \| null): string \| null; lookupPrefix(namespace: string \| null): string \| null; normalize(): void; removeChild<T\_1 extends Node>(child: T\_1): T\_1; replaceChild<T\_1 extends Node>(node: Node, child: T\_1): T\_1; readonly ELEMENT\_NODE: 1; readonly ATTRIBUTE\_NODE: 2; readonly TEXT\_NODE: 3; readonly CDATA\_SECTION\_NODE: 4; readonly ENTITY\_REFERENCE\_NODE: 5; readonly ENTITY\_NODE: 6; readonly PROCESSING\_INSTRUCTION\_NODE: 7; readonly COMMENT\_NODE: 8; readonly DOCUMENT\_NODE: 9; readonly DOCUMENT\_TYPE\_NODE: 10; readonly DOCUMENT\_FRAGMENT\_NODE: 11; readonly NOTATION\_NODE: 12; readonly DOCUMENT\_POSITION\_DISCONNECTED: 1; readonly DOCUMENT\_POSITION\_PRECEDING: 2; readonly DOCUMENT\_POSITION\_FOLLOWING: 4; readonly DOCUMENT\_POSITION\_CONTAINS: 8; readonly DOCUMENT\_POSITION\_CONTAINED\_BY: 16; readonly DOCUMENT\_POSITION\_IMPLEMENTATION\_SPECIFIC: 32; dispatchEvent(event: Event): boolean; ariaActiveDescendantElement: Element \| null; ariaAtomic: string \| null; ariaAutoComplete: string \| null; ariaBrailleLabel: string \| null; ariaBrailleRoleDescription: string \| null; ariaBusy: string \| null; ariaChecked: string \| null; ariaColCount: string \| null; ariaColIndex: string \| null; ariaColIndexText: string \| null; ariaColSpan: string \| null; ariaControlsElements: ReadonlyArray<Element> \| null; ariaCurrent: string \| null; ariaDescribedByElements: ReadonlyArray<Element> \| null; ariaDescription: string \| null; ariaDetailsElements: ReadonlyArray<Element> \| null; ariaDisabled: string \| null; ariaErrorMessageElements: ReadonlyArray<Element> \| null; ariaExpanded: string \| null; ariaFlowToElements: ReadonlyArray<Element> \| null; ariaHasPopup: string \| null; ariaHidden: string \| null; ariaInvalid: string \| null; ariaKeyShortcuts: string \| null; ariaLabel: string \| null; ariaLabelledByElements: ReadonlyArray<Element> \| null; ariaLevel: string \| null; ariaLive: string \| null; ariaModal: string \| null; ariaMultiLine: string \| null; ariaMultiSelectable: string \| null; ariaOrientation: string \| null; ariaOwnsElements: ReadonlyArray<Element> \| null; ariaPlaceholder: string \| null; ariaPosInSet: string \| null; ariaPressed: string \| null; ariaReadOnly: string \| null; ariaRelevant: string \| null; ariaRequired: string \| null; ariaRoleDescription: string \| null; ariaRowCount: string \| null; ariaRowIndex: string \| null; ariaRowIndexText: string \| null; ariaRowSpan: string \| null; ariaSelected: string \| null; ariaSetSize: string \| null; ariaSort: string \| null; ariaValueMax: string \| null; ariaValueMin: string \| null; ariaValueNow: string \| null; ariaValueText: string \| null; role: string \| null; animate(keyframes: Keyframe\[\] \| PropertyIndexedKeyframes \| null, options?: number \| KeyframeAnimationOptions): Animation; getAnimations(options?: GetAnimationsOptions): Animation\[\]; after(...nodes: (Node \| string)\[\]): void; before(...nodes: (Node \| string)\[\]): void; remove(): void; replaceWith(...nodes: (Node \| string)\[\]): void; readonly nextElementSibling: Element \| null; readonly previousElementSibling: Element \| null; readonly childElementCount: number; readonly children: HTMLCollection; readonly firstElementChild: Element \| null; readonly lastElementChild: Element \| null; append(...nodes: (Node \| string)\[\]): void; prepend(...nodes: (Node \| string)\[\]): void; querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap\[K\] \| null; querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap\[K\] \| null; querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap\[K\] \| null; querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap\[K\] \| null; querySelector<E extends Element = Element>(selectors: string): E \| null; querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap\[K\]>; querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap\[K\]>; querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap\[K\]>; querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap\[K\]>; querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>; replaceChildren(...nodes: (Node \| string)\[\]): void; readonly assignedSlot: HTMLSlotElement \| null; readonly attributeStyleMap: StylePropertyMap; get style(): CSSStyleDeclaration; set style(cssText: string); contentEditable: string; enterKeyHint: string; inputMode: string; readonly isContentEditable: boolean; onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) \| null; onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) \| null; onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) \| null; onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) \| null; onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) \| null; onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) \| null; onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) \| null; onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) \| null; onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) \| null; oncancel: ((this: GlobalEventHandlers, ev: Event) => any) \| null; oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) \| null; oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onchange: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) \| null; onclose: ((this: GlobalEventHandlers, ev: Event) => any) \| null; oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) \| null; oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) \| null; oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) \| null; oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) \| null; oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) \| null; oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) \| null; ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) \| null; ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) \| null; ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) \| null; ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) \| null; ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) \| null; ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) \| null; ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) \| null; ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) \| null; ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onemptied: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onended: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onerror: OnErrorEventHandler; onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) \| null; onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) \| null; ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) \| null; oninput: ((this: GlobalEventHandlers, ev: Event) => any) \| null; oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) \| null; onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) \| null; onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) \| null; onload: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) \| null; onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) \| null; onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) \| null; onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) \| null; onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) \| null; onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) \| null; onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) \| null; onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) \| null; onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) \| null; onpause: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onplay: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onplaying: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) \| null; onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) \| null; onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) \| null; onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) \| null; onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) \| null; onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) \| null; onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) \| null; onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) \| null; onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) \| null; onratechange: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onreset: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) \| null; onscroll: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) \| null; onseeked: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onseeking: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onselect: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onstalled: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) \| null; onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) \| null; ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) \| null; ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) \| null; ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) \| null \| undefined; ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) \| null \| undefined; ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) \| null \| undefined; ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) \| null \| undefined; ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) \| null; ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) \| null; ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) \| null; ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) \| null; onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) \| null; onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) \| null; autofocus: boolean; readonly dataset: DOMStringMap; nonce?: string; tabIndex: number; blur(): void; focus(options?: FocusOptions): void; }; } & T
|
|
422
|
-
|
|
423
344
|
## Remarks
|
|
424
345
|
|
|
425
346
|
These can be used to control what lifecycle functionality is ran when the elements are part of a custom layout. The class itself handles all events
|