@genesislcap/foundation-events 14.225.2-alpha-a51f60c.0 → 14.225.2-alpha-9256cb8.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/dts/eventEmitter/eventEmitterMixin.d.ts +29 -45
- package/dist/dts/eventEmitter/eventEmitterMixin.d.ts.map +1 -1
- package/dist/dts/tsdoc-metadata.json +1 -1
- package/dist/foundation-events.api.json +132 -496
- package/dist/foundation-events.d.ts +29 -45
- package/docs/api/foundation-events.createinputemitter.md +1 -4
- package/docs/api/foundation-events.createselectemitter.md +1 -4
- package/docs/api/foundation-events.customevent.md +1 -12
- package/docs/api/foundation-events.eventemitter.md +30 -56
- package/docs/api/foundation-events.eventemitterdi.md +1 -1
- package/docs/api/foundation-events.getbaseemitargs.md +1 -12
- package/docs/api/foundation-events.md +6 -11
- package/docs/api/foundation-events.registeremitter.md +1 -5
- package/docs/{api-report.md.api.md → api-report.md} +29 -45
- package/package.json +11 -11
@@ -158,15 +158,11 @@ export declare const EventEmitter: <TEventDetailMap extends EventDetailMap, TTar
|
|
158
158
|
readonly offsetTop: number;
|
159
159
|
readonly offsetWidth: number;
|
160
160
|
outerText: string;
|
161
|
-
popover: string;
|
162
161
|
spellcheck: boolean;
|
163
162
|
title: string;
|
164
163
|
translate: boolean;
|
165
164
|
attachInternals(): ElementInternals;
|
166
165
|
click(): void;
|
167
|
-
hidePopover(): void;
|
168
|
-
showPopover(): void;
|
169
|
-
togglePopover(force?: boolean): boolean;
|
170
166
|
addEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | AddEventListenerOptions): void;
|
171
167
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
172
168
|
removeEventListener<K_2 extends keyof HTMLElementEventMap>(type: K_2, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_2]) => any, options?: boolean | EventListenerOptions): void;
|
@@ -195,12 +191,9 @@ export declare const EventEmitter: <TEventDetailMap extends EventDetailMap, TTar
|
|
195
191
|
slot: string;
|
196
192
|
readonly tagName: string;
|
197
193
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
198
|
-
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
199
194
|
closest<K_3 extends keyof HTMLElementTagNameMap>(selector: K_3): HTMLElementTagNameMap[K_3];
|
200
195
|
closest<K_4 extends keyof SVGElementTagNameMap>(selector: K_4): SVGElementTagNameMap[K_4];
|
201
|
-
closest<K_5 extends keyof MathMLElementTagNameMap>(selector: K_5): MathMLElementTagNameMap[K_5];
|
202
196
|
closest<E extends Element = Element>(selectors: string): E;
|
203
|
-
computedStyleMap(): StylePropertyMapReadOnly;
|
204
197
|
getAttribute(qualifiedName: string): string;
|
205
198
|
getAttributeNS(namespace: string, localName: string): string;
|
206
199
|
getAttributeNames(): string[];
|
@@ -209,14 +202,11 @@ export declare const EventEmitter: <TEventDetailMap extends EventDetailMap, TTar
|
|
209
202
|
getBoundingClientRect(): DOMRect;
|
210
203
|
getClientRects(): DOMRectList;
|
211
204
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
212
|
-
getElementsByTagName<
|
213
|
-
getElementsByTagName<
|
214
|
-
getElementsByTagName<K_8 extends keyof MathMLElementTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<MathMLElementTagNameMap[K_8]>;
|
215
|
-
getElementsByTagName<K_9 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_9): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_9]>;
|
205
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
206
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
216
207
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
217
208
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
218
209
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
219
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
220
210
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
221
211
|
hasAttribute(qualifiedName: string): boolean;
|
222
212
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
@@ -274,24 +264,24 @@ export declare const EventEmitter: <TEventDetailMap extends EventDetailMap, TTar
|
|
274
264
|
normalize(): void;
|
275
265
|
removeChild<T_2 extends Node>(child: T_2): T_2;
|
276
266
|
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
277
|
-
readonly
|
278
|
-
readonly
|
279
|
-
readonly
|
280
|
-
readonly
|
281
|
-
readonly
|
282
|
-
readonly
|
283
|
-
readonly
|
284
|
-
readonly
|
285
|
-
readonly
|
286
|
-
readonly
|
287
|
-
readonly
|
288
|
-
readonly
|
289
|
-
readonly
|
290
|
-
readonly
|
291
|
-
readonly
|
292
|
-
readonly
|
293
|
-
readonly
|
294
|
-
readonly
|
267
|
+
readonly ATTRIBUTE_NODE: number;
|
268
|
+
readonly CDATA_SECTION_NODE: number;
|
269
|
+
readonly COMMENT_NODE: number;
|
270
|
+
readonly DOCUMENT_FRAGMENT_NODE: number;
|
271
|
+
readonly DOCUMENT_NODE: number;
|
272
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
273
|
+
readonly DOCUMENT_POSITION_CONTAINS: number;
|
274
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
275
|
+
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
276
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
277
|
+
readonly DOCUMENT_POSITION_PRECEDING: number;
|
278
|
+
readonly DOCUMENT_TYPE_NODE: number;
|
279
|
+
readonly ELEMENT_NODE: number;
|
280
|
+
readonly ENTITY_NODE: number;
|
281
|
+
readonly ENTITY_REFERENCE_NODE: number;
|
282
|
+
readonly NOTATION_NODE: number;
|
283
|
+
readonly PROCESSING_INSTRUCTION_NODE: number;
|
284
|
+
readonly TEXT_NODE: number;
|
295
285
|
dispatchEvent(event: Event): boolean;
|
296
286
|
ariaAtomic: string;
|
297
287
|
ariaAutoComplete: string;
|
@@ -299,9 +289,9 @@ export declare const EventEmitter: <TEventDetailMap extends EventDetailMap, TTar
|
|
299
289
|
ariaChecked: string;
|
300
290
|
ariaColCount: string;
|
301
291
|
ariaColIndex: string;
|
292
|
+
ariaColIndexText: string;
|
302
293
|
ariaColSpan: string;
|
303
294
|
ariaCurrent: string;
|
304
|
-
ariaDescription: string;
|
305
295
|
ariaDisabled: string;
|
306
296
|
ariaExpanded: string;
|
307
297
|
ariaHasPopup: string;
|
@@ -323,6 +313,7 @@ export declare const EventEmitter: <TEventDetailMap extends EventDetailMap, TTar
|
|
323
313
|
ariaRoleDescription: string;
|
324
314
|
ariaRowCount: string;
|
325
315
|
ariaRowIndex: string;
|
316
|
+
ariaRowIndexText: string;
|
326
317
|
ariaRowSpan: string;
|
327
318
|
ariaSelected: string;
|
328
319
|
ariaSetSize: string;
|
@@ -347,19 +338,17 @@ export declare const EventEmitter: <TEventDetailMap extends EventDetailMap, TTar
|
|
347
338
|
readonly lastElementChild: Element;
|
348
339
|
append(...nodes: (string | Node)[]): void;
|
349
340
|
prepend(...nodes: (string | Node)[]): void;
|
350
|
-
querySelector<
|
351
|
-
querySelector<
|
352
|
-
querySelector<K_12 extends keyof MathMLElementTagNameMap>(selectors: K_12): MathMLElementTagNameMap[K_12];
|
353
|
-
querySelector<K_13 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_13): HTMLElementDeprecatedTagNameMap[K_13];
|
341
|
+
querySelector<K_7 extends keyof HTMLElementTagNameMap>(selectors: K_7): HTMLElementTagNameMap[K_7];
|
342
|
+
querySelector<K_8 extends keyof SVGElementTagNameMap>(selectors: K_8): SVGElementTagNameMap[K_8];
|
354
343
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
355
|
-
querySelectorAll<
|
356
|
-
querySelectorAll<
|
357
|
-
querySelectorAll<K_16 extends keyof MathMLElementTagNameMap>(selectors: K_16): NodeListOf<MathMLElementTagNameMap[K_16]>;
|
358
|
-
querySelectorAll<K_17 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_17): NodeListOf<HTMLElementDeprecatedTagNameMap[K_17]>;
|
344
|
+
querySelectorAll<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): NodeListOf<HTMLElementTagNameMap[K_9]>;
|
345
|
+
querySelectorAll<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): NodeListOf<SVGElementTagNameMap[K_10]>;
|
359
346
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
360
347
|
replaceChildren(...nodes: (string | Node)[]): void;
|
361
348
|
readonly assignedSlot: HTMLSlotElement;
|
362
|
-
|
349
|
+
oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
350
|
+
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
351
|
+
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
363
352
|
readonly style: CSSStyleDeclaration;
|
364
353
|
contentEditable: string;
|
365
354
|
enterKeyHint: string;
|
@@ -372,7 +361,6 @@ export declare const EventEmitter: <TEventDetailMap extends EventDetailMap, TTar
|
|
372
361
|
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
373
362
|
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
374
363
|
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
375
|
-
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
376
364
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
377
365
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
378
366
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -381,9 +369,7 @@ export declare const EventEmitter: <TEventDetailMap extends EventDetailMap, TTar
|
|
381
369
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
382
370
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
383
371
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
384
|
-
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
385
372
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
386
|
-
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
387
373
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
388
374
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
389
375
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
@@ -416,7 +402,6 @@ export declare const EventEmitter: <TEventDetailMap extends EventDetailMap, TTar
|
|
416
402
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
417
403
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
418
404
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
419
|
-
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
420
405
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
421
406
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
422
407
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -433,7 +418,6 @@ export declare const EventEmitter: <TEventDetailMap extends EventDetailMap, TTar
|
|
433
418
|
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
434
419
|
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
435
420
|
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
436
|
-
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
437
421
|
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
438
422
|
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
439
423
|
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-events](./foundation-events.md) > [createInputEmitter](./foundation-events.createinputemitter.md)
|
4
4
|
|
5
|
-
## createInputEmitter
|
5
|
+
## createInputEmitter variable
|
6
6
|
|
7
7
|
`<input>` template emit helper.
|
8
8
|
|
@@ -11,9 +11,6 @@
|
|
11
11
|
```typescript
|
12
12
|
createInputEmitter: <TEventDetailMap extends EventDetailMap>() => <K extends KeysMatching<TEventDetailMap, string>>(type: K, options?: EmitOptions) => Binding
|
13
13
|
```
|
14
|
-
**Returns:**
|
15
|
-
|
16
|
-
<K extends [KeysMatching](./foundation-events.keysmatching.md)<!-- --><TEventDetailMap, string>>(type: K, options?: [EmitOptions](./foundation-events.emitoptions.md)<!-- -->) => Binding
|
17
14
|
|
18
15
|
## Remarks
|
19
16
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-events](./foundation-events.md) > [createSelectEmitter](./foundation-events.createselectemitter.md)
|
4
4
|
|
5
|
-
## createSelectEmitter
|
5
|
+
## createSelectEmitter variable
|
6
6
|
|
7
7
|
`<select>` template emit helper.
|
8
8
|
|
@@ -11,9 +11,6 @@
|
|
11
11
|
```typescript
|
12
12
|
createSelectEmitter: <TEventDetailMap extends EventDetailMap>() => <K extends KeysMatching<TEventDetailMap, string>>(type: K, options?: EmitOptions) => Binding
|
13
13
|
```
|
14
|
-
**Returns:**
|
15
|
-
|
16
|
-
<K extends [KeysMatching](./foundation-events.keysmatching.md)<!-- --><TEventDetailMap, string>>(type: K, options?: [EmitOptions](./foundation-events.emitoptions.md)<!-- -->) => Binding
|
17
14
|
|
18
15
|
## Remarks
|
19
16
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-events](./foundation-events.md) > [customEvent](./foundation-events.customevent.md)
|
4
4
|
|
5
|
-
## customEvent
|
5
|
+
## customEvent variable
|
6
6
|
|
7
7
|
|
8
8
|
**Signature:**
|
@@ -10,14 +10,3 @@
|
|
10
10
|
```typescript
|
11
11
|
customEvent: <TEventDetail = void>(ctx: ExecutionContext) => CustomEvent<TEventDetail>
|
12
12
|
```
|
13
|
-
|
14
|
-
## Parameters
|
15
|
-
|
16
|
-
| Parameter | Type | Description |
|
17
|
-
| --- | --- | --- |
|
18
|
-
| ctx | ExecutionContext | |
|
19
|
-
|
20
|
-
**Returns:**
|
21
|
-
|
22
|
-
CustomEvent<TEventDetail>
|
23
|
-
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-events](./foundation-events.md) > [EventEmitter](./foundation-events.eventemitter.md)
|
4
4
|
|
5
|
-
## EventEmitter
|
5
|
+
## EventEmitter variable
|
6
6
|
|
7
7
|
EventEmitter mixin.
|
8
8
|
|
@@ -26,15 +26,11 @@ EventEmitter: <TEventDetailMap extends EventDetailMap, TTarget extends HTMLEleme
|
|
26
26
|
readonly offsetTop: number;
|
27
27
|
readonly offsetWidth: number;
|
28
28
|
outerText: string;
|
29
|
-
popover: string;
|
30
29
|
spellcheck: boolean;
|
31
30
|
title: string;
|
32
31
|
translate: boolean;
|
33
32
|
attachInternals(): ElementInternals;
|
34
33
|
click(): void;
|
35
|
-
hidePopover(): void;
|
36
|
-
showPopover(): void;
|
37
|
-
togglePopover(force?: boolean): boolean;
|
38
34
|
addEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | AddEventListenerOptions): void;
|
39
35
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
40
36
|
removeEventListener<K_2 extends keyof HTMLElementEventMap>(type: K_2, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_2]) => any, options?: boolean | EventListenerOptions): void;
|
@@ -63,12 +59,9 @@ EventEmitter: <TEventDetailMap extends EventDetailMap, TTarget extends HTMLEleme
|
|
63
59
|
slot: string;
|
64
60
|
readonly tagName: string;
|
65
61
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
66
|
-
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
67
62
|
closest<K_3 extends keyof HTMLElementTagNameMap>(selector: K_3): HTMLElementTagNameMap[K_3];
|
68
63
|
closest<K_4 extends keyof SVGElementTagNameMap>(selector: K_4): SVGElementTagNameMap[K_4];
|
69
|
-
closest<K_5 extends keyof MathMLElementTagNameMap>(selector: K_5): MathMLElementTagNameMap[K_5];
|
70
64
|
closest<E extends Element = Element>(selectors: string): E;
|
71
|
-
computedStyleMap(): StylePropertyMapReadOnly;
|
72
65
|
getAttribute(qualifiedName: string): string;
|
73
66
|
getAttributeNS(namespace: string, localName: string): string;
|
74
67
|
getAttributeNames(): string[];
|
@@ -77,14 +70,11 @@ EventEmitter: <TEventDetailMap extends EventDetailMap, TTarget extends HTMLEleme
|
|
77
70
|
getBoundingClientRect(): DOMRect;
|
78
71
|
getClientRects(): DOMRectList;
|
79
72
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
80
|
-
getElementsByTagName<
|
81
|
-
getElementsByTagName<
|
82
|
-
getElementsByTagName<K_8 extends keyof MathMLElementTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<MathMLElementTagNameMap[K_8]>;
|
83
|
-
getElementsByTagName<K_9 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_9): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_9]>;
|
73
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
74
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
84
75
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
85
76
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
86
77
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
87
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
88
78
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
89
79
|
hasAttribute(qualifiedName: string): boolean;
|
90
80
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
@@ -142,24 +132,24 @@ EventEmitter: <TEventDetailMap extends EventDetailMap, TTarget extends HTMLEleme
|
|
142
132
|
normalize(): void;
|
143
133
|
removeChild<T_2 extends Node>(child: T_2): T_2;
|
144
134
|
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
145
|
-
readonly
|
146
|
-
readonly
|
147
|
-
readonly
|
148
|
-
readonly
|
149
|
-
readonly
|
150
|
-
readonly
|
151
|
-
readonly
|
152
|
-
readonly
|
153
|
-
readonly
|
154
|
-
readonly
|
155
|
-
readonly
|
156
|
-
readonly
|
157
|
-
readonly
|
158
|
-
readonly
|
159
|
-
readonly
|
160
|
-
readonly
|
161
|
-
readonly
|
162
|
-
readonly
|
135
|
+
readonly ATTRIBUTE_NODE: number;
|
136
|
+
readonly CDATA_SECTION_NODE: number;
|
137
|
+
readonly COMMENT_NODE: number;
|
138
|
+
readonly DOCUMENT_FRAGMENT_NODE: number;
|
139
|
+
readonly DOCUMENT_NODE: number;
|
140
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
141
|
+
readonly DOCUMENT_POSITION_CONTAINS: number;
|
142
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
143
|
+
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
144
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
145
|
+
readonly DOCUMENT_POSITION_PRECEDING: number;
|
146
|
+
readonly DOCUMENT_TYPE_NODE: number;
|
147
|
+
readonly ELEMENT_NODE: number;
|
148
|
+
readonly ENTITY_NODE: number;
|
149
|
+
readonly ENTITY_REFERENCE_NODE: number;
|
150
|
+
readonly NOTATION_NODE: number;
|
151
|
+
readonly PROCESSING_INSTRUCTION_NODE: number;
|
152
|
+
readonly TEXT_NODE: number;
|
163
153
|
dispatchEvent(event: Event): boolean;
|
164
154
|
ariaAtomic: string;
|
165
155
|
ariaAutoComplete: string;
|
@@ -167,9 +157,9 @@ EventEmitter: <TEventDetailMap extends EventDetailMap, TTarget extends HTMLEleme
|
|
167
157
|
ariaChecked: string;
|
168
158
|
ariaColCount: string;
|
169
159
|
ariaColIndex: string;
|
160
|
+
ariaColIndexText: string;
|
170
161
|
ariaColSpan: string;
|
171
162
|
ariaCurrent: string;
|
172
|
-
ariaDescription: string;
|
173
163
|
ariaDisabled: string;
|
174
164
|
ariaExpanded: string;
|
175
165
|
ariaHasPopup: string;
|
@@ -191,6 +181,7 @@ EventEmitter: <TEventDetailMap extends EventDetailMap, TTarget extends HTMLEleme
|
|
191
181
|
ariaRoleDescription: string;
|
192
182
|
ariaRowCount: string;
|
193
183
|
ariaRowIndex: string;
|
184
|
+
ariaRowIndexText: string;
|
194
185
|
ariaRowSpan: string;
|
195
186
|
ariaSelected: string;
|
196
187
|
ariaSetSize: string;
|
@@ -215,19 +206,17 @@ EventEmitter: <TEventDetailMap extends EventDetailMap, TTarget extends HTMLEleme
|
|
215
206
|
readonly lastElementChild: Element;
|
216
207
|
append(...nodes: (string | Node)[]): void;
|
217
208
|
prepend(...nodes: (string | Node)[]): void;
|
218
|
-
querySelector<
|
219
|
-
querySelector<
|
220
|
-
querySelector<K_12 extends keyof MathMLElementTagNameMap>(selectors: K_12): MathMLElementTagNameMap[K_12];
|
221
|
-
querySelector<K_13 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_13): HTMLElementDeprecatedTagNameMap[K_13];
|
209
|
+
querySelector<K_7 extends keyof HTMLElementTagNameMap>(selectors: K_7): HTMLElementTagNameMap[K_7];
|
210
|
+
querySelector<K_8 extends keyof SVGElementTagNameMap>(selectors: K_8): SVGElementTagNameMap[K_8];
|
222
211
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
223
|
-
querySelectorAll<
|
224
|
-
querySelectorAll<
|
225
|
-
querySelectorAll<K_16 extends keyof MathMLElementTagNameMap>(selectors: K_16): NodeListOf<MathMLElementTagNameMap[K_16]>;
|
226
|
-
querySelectorAll<K_17 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_17): NodeListOf<HTMLElementDeprecatedTagNameMap[K_17]>;
|
212
|
+
querySelectorAll<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): NodeListOf<HTMLElementTagNameMap[K_9]>;
|
213
|
+
querySelectorAll<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): NodeListOf<SVGElementTagNameMap[K_10]>;
|
227
214
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
228
215
|
replaceChildren(...nodes: (string | Node)[]): void;
|
229
216
|
readonly assignedSlot: HTMLSlotElement;
|
230
|
-
|
217
|
+
oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
218
|
+
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
219
|
+
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
231
220
|
readonly style: CSSStyleDeclaration;
|
232
221
|
contentEditable: string;
|
233
222
|
enterKeyHint: string;
|
@@ -240,7 +229,6 @@ EventEmitter: <TEventDetailMap extends EventDetailMap, TTarget extends HTMLEleme
|
|
240
229
|
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
241
230
|
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
242
231
|
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
243
|
-
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
244
232
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
245
233
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
246
234
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -249,9 +237,7 @@ EventEmitter: <TEventDetailMap extends EventDetailMap, TTarget extends HTMLEleme
|
|
249
237
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
250
238
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
251
239
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
252
|
-
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
253
240
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
254
|
-
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
255
241
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
256
242
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
257
243
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
@@ -284,7 +270,6 @@ EventEmitter: <TEventDetailMap extends EventDetailMap, TTarget extends HTMLEleme
|
|
284
270
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
285
271
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
286
272
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
287
|
-
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
288
273
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
289
274
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
290
275
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -301,7 +286,6 @@ EventEmitter: <TEventDetailMap extends EventDetailMap, TTarget extends HTMLEleme
|
|
301
286
|
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
302
287
|
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
303
288
|
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
304
|
-
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
305
289
|
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
306
290
|
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
307
291
|
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
@@ -342,16 +326,6 @@ EventEmitter: <TEventDetailMap extends EventDetailMap, TTarget extends HTMLEleme
|
|
342
326
|
}
|
343
327
|
```
|
344
328
|
|
345
|
-
## Parameters
|
346
|
-
|
347
|
-
| Parameter | Type | Description |
|
348
|
-
| --- | --- | --- |
|
349
|
-
| Target | [EventEmitterTarget](./foundation-events.eventemittertarget.md)<!-- --><TTarget> | The class to apply the mixin to which ultimately extends . |
|
350
|
-
|
351
|
-
**Returns:**
|
352
|
-
|
353
|
-
abstract new (...args: any\[\]) => { $emit<K extends keyof TEventDetailMap & string>(...args: TEventDetailMap\[K\] extends void ? \[type: K, options?: [EmitOptions](./foundation-events.emitoptions.md)<!-- -->\] : \[type: K, detail: TEventDetailMap\[K\], options?: [EmitOptions](./foundation-events.emitoptions.md)<!-- -->\]): [EmitReturn](./foundation-events.emitreturn.md)<!-- -->; accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; readonly offsetLeft: number; readonly offsetParent: Element; readonly offsetTop: number; readonly offsetWidth: number; outerText: string; popover: string; spellcheck: boolean; title: string; translate: boolean; attachInternals(): ElementInternals; click(): void; hidePopover(): void; showPopover(): void; togglePopover(force?: boolean): boolean; addEventListener<K\_1 extends keyof HTMLElementEventMap>(type: K\_1, listener: (this: HTMLElement, ev: HTMLElementEventMap\[K\_1\]) => any, options?: boolean \| AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean \| AddEventListenerOptions): void; removeEventListener<K\_2 extends keyof HTMLElementEventMap>(type: K\_2, listener: (this: HTMLElement, ev: HTMLElementEventMap\[K\_2\]) => any, options?: boolean \| EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean \| EventListenerOptions): void; readonly attributes: NamedNodeMap; readonly classList: DOMTokenList; className: string; readonly clientHeight: number; readonly clientLeft: number; readonly clientTop: number; readonly clientWidth: number; id: string; readonly localName: string; readonly namespaceURI: string; onfullscreenchange: (this: Element, ev: Event) => any; onfullscreenerror: (this: Element, ev: Event) => any; outerHTML: string; readonly ownerDocument: Document; readonly part: DOMTokenList; readonly prefix: string; readonly scrollHeight: number; scrollLeft: number; scrollTop: number; readonly scrollWidth: number; readonly shadowRoot: ShadowRoot; slot: string; readonly tagName: string; attachShadow(init: ShadowRootInit): ShadowRoot; checkVisibility(options?: CheckVisibilityOptions): boolean; closest<K\_3 extends keyof HTMLElementTagNameMap>(selector: K\_3): HTMLElementTagNameMap\[K\_3\]; closest<K\_4 extends keyof SVGElementTagNameMap>(selector: K\_4): SVGElementTagNameMap\[K\_4\]; closest<K\_5 extends keyof MathMLElementTagNameMap>(selector: K\_5): MathMLElementTagNameMap\[K\_5\]; closest<E extends Element = Element>(selectors: string): E; computedStyleMap(): StylePropertyMapReadOnly; getAttribute(qualifiedName: string): string; getAttributeNS(namespace: string, localName: string): string; getAttributeNames(): string\[\]; getAttributeNode(qualifiedName: string): Attr; getAttributeNodeNS(namespace: string, localName: string): Attr; getBoundingClientRect(): DOMRect; getClientRects(): DOMRectList; getElementsByClassName(classNames: string): HTMLCollectionOf<Element>; getElementsByTagName<K\_6 extends keyof HTMLElementTagNameMap>(qualifiedName: K\_6): HTMLCollectionOf<HTMLElementTagNameMap\[K\_6\]>; getElementsByTagName<K\_7 extends keyof SVGElementTagNameMap>(qualifiedName: K\_7): HTMLCollectionOf<SVGElementTagNameMap\[K\_7\]>; getElementsByTagName<K\_8 extends keyof MathMLElementTagNameMap>(qualifiedName: K\_8): HTMLCollectionOf<MathMLElementTagNameMap\[K\_8\]>; getElementsByTagName<K\_9 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K\_9): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap\[K\_9\]>; 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, localName: string): HTMLCollectionOf<Element>; hasAttribute(qualifiedName: string): boolean; hasAttributeNS(namespace: string, localName: string): boolean; hasAttributes(): boolean; hasPointerCapture(pointerId: number): boolean; insertAdjacentElement(where: InsertPosition, element: Element): Element; insertAdjacentHTML(position: InsertPosition, text: string): void; insertAdjacentText(where: InsertPosition, data: string): void; matches(selectors: string): boolean; releasePointerCapture(pointerId: number): void; removeAttribute(qualifiedName: string): void; removeAttributeNS(namespace: string, localName: string): void; removeAttributeNode(attr: Attr): Attr; requestFullscreen(options?: FullscreenOptions): Promise<void>; requestPointerLock(): 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, qualifiedName: string, value: string): void; setAttributeNode(attr: Attr): Attr; setAttributeNodeNS(attr: Attr): Attr; setPointerCapture(pointerId: number): void; toggleAttribute(qualifiedName: string, force?: boolean): boolean; webkitMatchesSelector(selectors: string): boolean; readonly baseURI: string; readonly childNodes: NodeListOf<ChildNode>; readonly firstChild: ChildNode; readonly isConnected: boolean; readonly lastChild: ChildNode; readonly nextSibling: ChildNode; readonly nodeName: string; readonly nodeType: number; nodeValue: string; readonly parentElement: HTMLElement; readonly parentNode: ParentNode; readonly previousSibling: ChildNode; textContent: string; appendChild<T extends Node>(node: T): T; cloneNode(deep?: boolean): Node; compareDocumentPosition(other: Node): number; contains(other: Node): boolean; getRootNode(options?: GetRootNodeOptions): Node; hasChildNodes(): boolean; insertBefore<T\_1 extends Node>(node: T\_1, child: Node): T\_1; isDefaultNamespace(namespace: string): boolean; isEqualNode(otherNode: Node): boolean; isSameNode(otherNode: Node): boolean; lookupNamespaceURI(prefix: string): string; lookupPrefix(namespace: string): string; normalize(): void; removeChild<T\_2 extends Node>(child: T\_2): T\_2; replaceChild<T\_3 extends Node>(node: Node, child: T\_3): T\_3; 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; ariaAtomic: string; ariaAutoComplete: string; ariaBusy: string; ariaChecked: string; ariaColCount: string; ariaColIndex: string; ariaColSpan: string; ariaCurrent: string; ariaDescription: string; ariaDisabled: string; ariaExpanded: string; ariaHasPopup: string; ariaHidden: string; ariaInvalid: string; ariaKeyShortcuts: string; ariaLabel: string; ariaLevel: string; ariaLive: string; ariaModal: string; ariaMultiLine: string; ariaMultiSelectable: string; ariaOrientation: string; ariaPlaceholder: string; ariaPosInSet: string; ariaPressed: string; ariaReadOnly: string; ariaRequired: string; ariaRoleDescription: string; ariaRowCount: string; ariaRowIndex: string; ariaRowSpan: string; ariaSelected: string; ariaSetSize: string; ariaSort: string; ariaValueMax: string; ariaValueMin: string; ariaValueNow: string; ariaValueText: string; role: string; animate(keyframes: Keyframe\[\] \| PropertyIndexedKeyframes, options?: number \| KeyframeAnimationOptions): Animation; getAnimations(options?: GetAnimationsOptions): Animation\[\]; after(...nodes: (string \| Node)\[\]): void; before(...nodes: (string \| Node)\[\]): void; remove(): void; replaceWith(...nodes: (string \| Node)\[\]): void; innerHTML: string; readonly nextElementSibling: Element; readonly previousElementSibling: Element; readonly childElementCount: number; readonly children: HTMLCollection; readonly firstElementChild: Element; readonly lastElementChild: Element; append(...nodes: (string \| Node)\[\]): void; prepend(...nodes: (string \| Node)\[\]): void; querySelector<K\_10 extends keyof HTMLElementTagNameMap>(selectors: K\_10): HTMLElementTagNameMap\[K\_10\]; querySelector<K\_11 extends keyof SVGElementTagNameMap>(selectors: K\_11): SVGElementTagNameMap\[K\_11\]; querySelector<K\_12 extends keyof MathMLElementTagNameMap>(selectors: K\_12): MathMLElementTagNameMap\[K\_12\]; querySelector<K\_13 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K\_13): HTMLElementDeprecatedTagNameMap\[K\_13\]; querySelector<E\_1 extends Element = Element>(selectors: string): E\_1; querySelectorAll<K\_14 extends keyof HTMLElementTagNameMap>(selectors: K\_14): NodeListOf<HTMLElementTagNameMap\[K\_14\]>; querySelectorAll<K\_15 extends keyof SVGElementTagNameMap>(selectors: K\_15): NodeListOf<SVGElementTagNameMap\[K\_15\]>; querySelectorAll<K\_16 extends keyof MathMLElementTagNameMap>(selectors: K\_16): NodeListOf<MathMLElementTagNameMap\[K\_16\]>; querySelectorAll<K\_17 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K\_17): NodeListOf<HTMLElementDeprecatedTagNameMap\[K\_17\]>; querySelectorAll<E\_2 extends Element = Element>(selectors: string): NodeListOf<E\_2>; replaceChildren(...nodes: (string \| Node)\[\]): void; readonly assignedSlot: HTMLSlotElement; readonly attributeStyleMap: StylePropertyMap; readonly style: CSSStyleDeclaration; contentEditable: string; enterKeyHint: string; inputMode: string; readonly isContentEditable: boolean; onabort: (this: GlobalEventHandlers, ev: UIEvent) => any; onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any; onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any; onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any; onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any; onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any; onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any; onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any; onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any; oncancel: (this: GlobalEventHandlers, ev: Event) => any; oncanplay: (this: GlobalEventHandlers, ev: Event) => any; oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any; onchange: (this: GlobalEventHandlers, ev: Event) => any; onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any; onclose: (this: GlobalEventHandlers, ev: Event) => any; oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any; oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any; oncuechange: (this: GlobalEventHandlers, ev: Event) => any; oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any; ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any; ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any; ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any; ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any; ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any; ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any; ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any; ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any; ondurationchange: (this: GlobalEventHandlers, ev: Event) => any; onemptied: (this: GlobalEventHandlers, ev: Event) => any; onended: (this: GlobalEventHandlers, ev: Event) => any; onerror: OnErrorEventHandlerNonNull; onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any; onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any; ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any; oninput: (this: GlobalEventHandlers, ev: Event) => any; oninvalid: (this: GlobalEventHandlers, ev: Event) => any; onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any; onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any; onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any; onload: (this: GlobalEventHandlers, ev: Event) => any; onloadeddata: (this: GlobalEventHandlers, ev: Event) => any; onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any; onloadstart: (this: GlobalEventHandlers, ev: Event) => any; onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any; onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any; onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any; onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any; onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any; onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any; onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any; onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any; onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any; onpause: (this: GlobalEventHandlers, ev: Event) => any; onplay: (this: GlobalEventHandlers, ev: Event) => any; onplaying: (this: GlobalEventHandlers, ev: Event) => any; onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any; onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any; onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any; onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any; onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any; onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any; onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any; onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any; onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any; onratechange: (this: GlobalEventHandlers, ev: Event) => any; onreset: (this: GlobalEventHandlers, ev: Event) => any; onresize: (this: GlobalEventHandlers, ev: UIEvent) => any; onscroll: (this: GlobalEventHandlers, ev: Event) => any; onscrollend: (this: GlobalEventHandlers, ev: Event) => any; onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any; onseeked: (this: GlobalEventHandlers, ev: Event) => any; onseeking: (this: GlobalEventHandlers, ev: Event) => any; onselect: (this: GlobalEventHandlers, ev: Event) => any; onselectionchange: (this: GlobalEventHandlers, ev: Event) => any; onselectstart: (this: GlobalEventHandlers, ev: Event) => any; onslotchange: (this: GlobalEventHandlers, ev: Event) => any; onstalled: (this: GlobalEventHandlers, ev: Event) => any; onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any; onsuspend: (this: GlobalEventHandlers, ev: Event) => any; ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any; ontoggle: (this: GlobalEventHandlers, ev: Event) => any; ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any; ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any; ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any; ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any; ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any; ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any; ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any; ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any; onvolumechange: (this: GlobalEventHandlers, ev: Event) => any; onwaiting: (this: GlobalEventHandlers, ev: Event) => any; onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any; onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any; onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any; onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any; onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any; autofocus: boolean; readonly dataset: DOMStringMap; nonce?: string; tabIndex: number; blur(): void; focus(options?: FocusOptions): void; readonly $fastController: import("@microsoft/fast-element").Controller; connectedCallback(): void; disconnectedCallback(): void; attributeChangedCallback(name: string, oldValue: string, newValue: string): void; }
|
354
|
-
|
355
329
|
## Remarks
|
356
330
|
|
357
331
|
Strongly types the components `$emit` method, allowing only the mapped events to be emitted.
|
@@ -14,7 +14,7 @@ export interface EventEmitterDI<TEventDetailMap extends EventDetailMap>
|
|
14
14
|
|
15
15
|
## Remarks
|
16
16
|
|
17
|
-
A strongly typed event emitter with events typed to [EventDetailMap](./foundation-events.eventdetailmap.md) pairings. This is closely related to the [EventEmitter
|
17
|
+
A strongly typed event emitter with events typed to [EventDetailMap](./foundation-events.eventdetailmap.md) pairings. This is closely related to the [EventEmitter](./foundation-events.eventemitter.md) mixin in terms of functionality, however its purpose is different. This allows you to create pre-configured EventEmitters that can be injected anywhere. These can emit typed events from an origin html element, without that element needing to be an actual . If you are starting out, we recommend using the [EventEmitter](./foundation-events.eventemitter.md) mixin where possible.
|
18
18
|
|
19
19
|
## Example 1
|
20
20
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-events](./foundation-events.md) > [getBaseEmitArgs](./foundation-events.getbaseemitargs.md)
|
4
4
|
|
5
|
-
## getBaseEmitArgs
|
5
|
+
## getBaseEmitArgs variable
|
6
6
|
|
7
7
|
|
8
8
|
**Signature:**
|
@@ -10,14 +10,3 @@
|
|
10
10
|
```typescript
|
11
11
|
getBaseEmitArgs: (...args: unknown[]) => EmitArgs
|
12
12
|
```
|
13
|
-
|
14
|
-
## Parameters
|
15
|
-
|
16
|
-
| Parameter | Type | Description |
|
17
|
-
| --- | --- | --- |
|
18
|
-
| args | unknown\[\] | |
|
19
|
-
|
20
|
-
**Returns:**
|
21
|
-
|
22
|
-
[EmitArgs](./foundation-events.emitargs.md)
|
23
|
-
|
@@ -10,17 +10,6 @@
|
|
10
10
|
| --- | --- |
|
11
11
|
| [DefaultEventEmitterDI](./foundation-events.defaulteventemitterdi.md) | Default EventEmitterDI. |
|
12
12
|
|
13
|
-
## Functions
|
14
|
-
|
15
|
-
| Function | Description |
|
16
|
-
| --- | --- |
|
17
|
-
| [createInputEmitter()](./foundation-events.createinputemitter.md) | <code><input></code> template emit helper. |
|
18
|
-
| [createSelectEmitter()](./foundation-events.createselectemitter.md) | <code><select></code> template emit helper. |
|
19
|
-
| [customEvent(ctx)](./foundation-events.customevent.md) | |
|
20
|
-
| [EventEmitter(Target)](./foundation-events.eventemitter.md) | EventEmitter mixin. |
|
21
|
-
| [getBaseEmitArgs(args)](./foundation-events.getbaseemitargs.md) | |
|
22
|
-
| [registerEmitter()](./foundation-events.registeremitter.md) | Register an emitter with the DI. |
|
23
|
-
|
24
13
|
## Interfaces
|
25
14
|
|
26
15
|
| Interface | Description |
|
@@ -32,7 +21,13 @@
|
|
32
21
|
|
33
22
|
| Variable | Description |
|
34
23
|
| --- | --- |
|
24
|
+
| [createInputEmitter](./foundation-events.createinputemitter.md) | <code><input></code> template emit helper. |
|
25
|
+
| [createSelectEmitter](./foundation-events.createselectemitter.md) | <code><select></code> template emit helper. |
|
26
|
+
| [customEvent](./foundation-events.customevent.md) | |
|
27
|
+
| [EventEmitter](./foundation-events.eventemitter.md) | EventEmitter mixin. |
|
28
|
+
| [getBaseEmitArgs](./foundation-events.getbaseemitargs.md) | |
|
35
29
|
| [logger](./foundation-events.logger.md) | |
|
30
|
+
| [registerEmitter](./foundation-events.registeremitter.md) | Register an emitter with the DI. |
|
36
31
|
| [targetChecked](./foundation-events.targetchecked.md) | |
|
37
32
|
| [targetFirstSelectedValue](./foundation-events.targetfirstselectedvalue.md) | |
|
38
33
|
| [targetValue](./foundation-events.targetvalue.md) | |
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
[Home](./index.md) > [@genesislcap/foundation-events](./foundation-events.md) > [registerEmitter](./foundation-events.registeremitter.md)
|
4
4
|
|
5
|
-
## registerEmitter
|
5
|
+
## registerEmitter variable
|
6
6
|
|
7
7
|
Register an emitter with the DI.
|
8
8
|
|
@@ -11,7 +11,3 @@ Register an emitter with the DI.
|
|
11
11
|
```typescript
|
12
12
|
registerEmitter: <TEventDetailMap extends EventDetailMap>() => import("@microsoft/fast-foundation").InterfaceSymbol<EventEmitterDI<TEventDetailMap>>
|
13
13
|
```
|
14
|
-
**Returns:**
|
15
|
-
|
16
|
-
import("@microsoft/fast-foundation").InterfaceSymbol<[EventEmitterDI](./foundation-events.eventemitterdi.md)<!-- --><TEventDetailMap>>
|
17
|
-
|