wallace 0.14.1 → 0.16.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/lib/component.js +42 -34
- package/lib/createComponent.js +6 -2
- package/lib/detacher.js +61 -15
- package/lib/index.js +1 -1
- package/lib/mount.js +9 -5
- package/lib/offsetter.js +3 -4
- package/lib/part.js +4 -4
- package/lib/repeaters/keyed.js +103 -82
- package/lib/repeaters/nester.js +29 -0
- package/lib/repeaters/sequential.js +80 -54
- package/lib/router.js +10 -7
- package/lib/stubs.js +1 -1
- package/lib/types.d.ts +1127 -1122
- package/lib/utils.js +4 -8
- package/package.json +3 -3
- package/lib/nestComponent.js +0 -8
package/lib/types.d.ts
CHANGED
|
@@ -182,21 +182,14 @@ Other than that, its standard JSX, except for three special cases:
|
|
|
182
182
|
|
|
183
183
|
## 3. Nesting
|
|
184
184
|
|
|
185
|
-
To nest a component use its name
|
|
185
|
+
To nest a component use its name and pass `props` if needed:
|
|
186
186
|
|
|
187
187
|
```tsx
|
|
188
188
|
const Task = (task) => (<div></div>);
|
|
189
189
|
|
|
190
190
|
const TopTasks = (tasks) => (
|
|
191
191
|
<div>
|
|
192
|
-
<Task
|
|
193
|
-
<Task.nest props={tasks[1]} />
|
|
194
|
-
</div>
|
|
195
|
-
);
|
|
196
|
-
|
|
197
|
-
const TaskList = (tasks) => (
|
|
198
|
-
<div>
|
|
199
|
-
<Task.repeat items={tasks} />
|
|
192
|
+
<Task props={tasks[0]} />
|
|
200
193
|
</div>
|
|
201
194
|
);
|
|
202
195
|
```
|
|
@@ -208,14 +201,15 @@ Notes:
|
|
|
208
201
|
|
|
209
202
|
## 4. Repeating
|
|
210
203
|
|
|
211
|
-
To repeat a component use its name followed by `.repeat` and pass `
|
|
204
|
+
To repeat a component use its name followed by `.repeat` and pass `props` which must
|
|
205
|
+
be an Array of the props the component uses:
|
|
212
206
|
|
|
213
207
|
```tsx
|
|
214
208
|
const Task = (task) => (<div></div>);
|
|
215
209
|
|
|
216
210
|
const TaskList = (tasks) => (
|
|
217
211
|
<div>
|
|
218
|
-
<Task.repeat
|
|
212
|
+
<Task.repeat props={tasks} />
|
|
219
213
|
</div>
|
|
220
214
|
);
|
|
221
215
|
```
|
|
@@ -227,13 +221,13 @@ be a string or a function:
|
|
|
227
221
|
```tsx
|
|
228
222
|
const TaskList = (tasks) => (
|
|
229
223
|
<div>
|
|
230
|
-
<Task.repeat
|
|
224
|
+
<Task.repeat props={tasks} key="id"/>
|
|
231
225
|
</div>
|
|
232
226
|
);
|
|
233
227
|
|
|
234
228
|
const TaskList = (tasks) => (
|
|
235
229
|
<div>
|
|
236
|
-
<Task.repeat
|
|
230
|
+
<Task.repeat props={tasks} key={(x) => x.id}/>
|
|
237
231
|
</div>
|
|
238
232
|
);
|
|
239
233
|
```
|
|
@@ -295,7 +289,7 @@ const Task = (task) => (<div>{task.name}</div>);
|
|
|
295
289
|
|
|
296
290
|
const TaskList = (_, {ctrl}) => (
|
|
297
291
|
<div>
|
|
298
|
-
<Task.repeat
|
|
292
|
+
<Task.repeat props={ctrl.getTasks()} />
|
|
299
293
|
</div>
|
|
300
294
|
);
|
|
301
295
|
|
|
@@ -330,17 +324,17 @@ Stubs are named placeholders for nested components which are requested in the JS
|
|
|
330
324
|
```tsx
|
|
331
325
|
const MyComponent = () => (
|
|
332
326
|
<div>
|
|
333
|
-
<stub
|
|
334
|
-
<stub
|
|
327
|
+
<stub.animation />
|
|
328
|
+
<stub.text />
|
|
335
329
|
</div>
|
|
336
330
|
);
|
|
337
331
|
```
|
|
338
332
|
|
|
339
|
-
And defined on the `
|
|
333
|
+
And defined on the `stub` property of the component definition:
|
|
340
334
|
|
|
341
335
|
```tsx
|
|
342
|
-
MyComponent.
|
|
343
|
-
MyComponent.
|
|
336
|
+
MyComponent.stub.animation: () => <div>...</div>;
|
|
337
|
+
MyComponent.stub.text: MyTextComponent;
|
|
344
338
|
```
|
|
345
339
|
|
|
346
340
|
Stubs are inherited and can be overridden, which means you can either:
|
|
@@ -358,7 +352,8 @@ Notes:
|
|
|
358
352
|
|
|
359
353
|
## 9. TypeScript
|
|
360
354
|
|
|
361
|
-
The
|
|
355
|
+
The `Uses` lets you annotate a component's props and other types. It must be placed
|
|
356
|
+
right after the component name (not inside the parameters):
|
|
362
357
|
|
|
363
358
|
```tsx
|
|
364
359
|
import { Uses } from 'wallace';
|
|
@@ -370,49 +365,41 @@ interface iTask {
|
|
|
370
365
|
const Task: Uses<iTask> = ({text}) => <div>{text}</div>;
|
|
371
366
|
```
|
|
372
367
|
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
```tsx
|
|
376
|
-
const Task: Uses<null> = () => <div>Hello</div>;
|
|
377
|
-
```
|
|
378
|
-
|
|
379
|
-
`Uses` sets up type support in several places.
|
|
380
|
-
|
|
381
|
-
### Props
|
|
382
|
-
|
|
383
|
-
TypeScript will ensure you pass correct props during mounting, nesting and repeating:
|
|
368
|
+
This ensure you pass correct props during mounting, nesting and repeating:
|
|
384
369
|
|
|
385
370
|
```
|
|
386
371
|
const TaskList: Uses<iTask[]> = (tasks) => (
|
|
387
372
|
<div>
|
|
388
373
|
First task:
|
|
389
|
-
<Task
|
|
390
|
-
<Task.repeat
|
|
374
|
+
<Task props={tasks[0]} />
|
|
375
|
+
<Task.repeat props={tasks.slice(1)} />
|
|
391
376
|
</div>
|
|
392
377
|
);
|
|
393
378
|
|
|
394
379
|
mount("main", TaskList, [{test: 'foo'}]);
|
|
395
380
|
```
|
|
396
381
|
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
The 2nd type is used for the controller, available as `ctrl` in **xargs**:
|
|
382
|
+
If you require no props, pass `null`:
|
|
400
383
|
|
|
401
384
|
```tsx
|
|
402
|
-
|
|
385
|
+
const Task: Uses<null> = () => <div>Hello</div>;
|
|
386
|
+
```
|
|
403
387
|
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
388
|
+
### Other types
|
|
389
|
+
|
|
390
|
+
You can alternatively pass a compound type which lets you specify other things:
|
|
391
|
+
|
|
392
|
+
### Controller
|
|
407
393
|
|
|
408
|
-
|
|
394
|
+
```tsx
|
|
395
|
+
const Task: Uses<{ctrl: Controller}> = (_, { ctrl }) => (
|
|
409
396
|
<div>{ctrl.getName()}</div>
|
|
410
|
-
)
|
|
397
|
+
);
|
|
411
398
|
```
|
|
412
399
|
|
|
413
400
|
### Methods
|
|
414
401
|
|
|
415
|
-
|
|
402
|
+
Custom methods of the component are available `self`:
|
|
416
403
|
|
|
417
404
|
```tsx
|
|
418
405
|
import { Uses } from 'wallace';
|
|
@@ -421,7 +408,7 @@ interface TaskMethods () {
|
|
|
421
408
|
getName(): string;
|
|
422
409
|
}
|
|
423
410
|
|
|
424
|
-
const Task: Uses<
|
|
411
|
+
const Task: Uses<{methods: TaskMethods}> = (_, { self }) => (
|
|
425
412
|
<div>{self.getName()}</div>
|
|
426
413
|
));
|
|
427
414
|
|
|
@@ -438,16 +425,23 @@ in addition to standard methods like `render`, which are already typed for you.
|
|
|
438
425
|
|
|
439
426
|
### Stubs
|
|
440
427
|
|
|
441
|
-
|
|
442
|
-
`Component.stubs` as stubs receive the same props as the parent.
|
|
443
|
-
|
|
444
|
-
But `methods` are not passed through as stubs are distinct components and will have
|
|
445
|
-
their own methods.
|
|
428
|
+
You can specify the props and controller of each stub:
|
|
446
429
|
|
|
447
430
|
```tsx
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
431
|
+
interface ParentTypes {
|
|
432
|
+
ctrl: Controller;
|
|
433
|
+
stub: {
|
|
434
|
+
foo: Uses<iDay>;
|
|
435
|
+
bar: Uses<{props: iDay, ctrl: Controller}>;
|
|
436
|
+
};
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
const Parent: Uses<ParentTypes> = (_, { stub }) => (
|
|
440
|
+
<div>
|
|
441
|
+
<stub.foo props={data[0]} />
|
|
442
|
+
<stub.foo.repeat props={data} />
|
|
443
|
+
</div>
|
|
444
|
+
);
|
|
451
445
|
```
|
|
452
446
|
|
|
453
447
|
### Inheritance
|
|
@@ -525,12 +519,13 @@ watchedObj[0] = 'foo'; // throws error.
|
|
|
525
519
|
You can toggle flags in your babel config to disable certain features for cutting edge
|
|
526
520
|
performance and bundle size:
|
|
527
521
|
|
|
528
|
-
1. allowBase -
|
|
529
|
-
2. allowCtrl -
|
|
530
|
-
3.
|
|
531
|
-
4.
|
|
532
|
-
5.
|
|
533
|
-
6.
|
|
522
|
+
1. `allowBase` - allows use of `base` in components.
|
|
523
|
+
2. `allowCtrl` - allows use of `ctrl` in components.
|
|
524
|
+
3. `allowDismount` - allows components to handle dismounting.
|
|
525
|
+
4. `allowMethods` - allows use of `methods` helper to components.
|
|
526
|
+
5. `allowParts` - allows use of parts.
|
|
527
|
+
6. `allowRepeaterSiblings` - allows repeaters to have siblings.
|
|
528
|
+
7. `allowStubs` - allows use of stubs.
|
|
534
529
|
|
|
535
530
|
These flags default to true, unless you specify `flags` in the plugin config, in which
|
|
536
531
|
case they default to false and you need to explicitly enable those you want:
|
|
@@ -558,60 +553,63 @@ The types (and therefore tool tips) are unaffected by these flags, and will trea
|
|
|
558
553
|
all as being true.
|
|
559
554
|
|
|
560
555
|
---
|
|
561
|
-
Report any issues to https://github.com/wallace-js/wallace
|
|
556
|
+
Report any issues to https://github.com/wallace-js/wallace
|
|
562
557
|
|
|
563
558
|
*/
|
|
564
559
|
|
|
565
560
|
declare module "wallace" {
|
|
561
|
+
type StubDefinition = {
|
|
562
|
+
[key: string]: ComponentFunction;
|
|
563
|
+
};
|
|
564
|
+
|
|
565
|
+
type StubInterface<Stubs> = {
|
|
566
|
+
[K in keyof Stubs]: Stubs[K] extends ComponentFunction ? Stubs[K] : never;
|
|
567
|
+
};
|
|
568
|
+
|
|
566
569
|
/**
|
|
567
|
-
*
|
|
568
|
-
* for the args.
|
|
570
|
+
* A component function.
|
|
569
571
|
*/
|
|
570
572
|
interface ComponentFunction<
|
|
571
573
|
Props = any,
|
|
572
574
|
Controller = any,
|
|
573
|
-
Methods extends object = {}
|
|
575
|
+
Methods extends object = {},
|
|
576
|
+
Stubs extends StubDefinition = {}
|
|
574
577
|
> {
|
|
575
578
|
(
|
|
576
|
-
props
|
|
579
|
+
props?: Props,
|
|
577
580
|
xargs?: {
|
|
578
581
|
ctrl: Controller;
|
|
579
582
|
props: Props;
|
|
580
583
|
self: ComponentInstance<Props, Controller, Methods>;
|
|
584
|
+
stub: StubInterface<Stubs>;
|
|
581
585
|
event: Event;
|
|
582
586
|
element: HTMLElement;
|
|
583
587
|
}
|
|
584
588
|
): JSX.Element;
|
|
585
|
-
nest?({
|
|
586
|
-
props,
|
|
587
|
-
show,
|
|
588
|
-
hide
|
|
589
|
-
}: {
|
|
590
|
-
props?: Props;
|
|
591
|
-
ctrl?: Controller;
|
|
592
|
-
show?: boolean;
|
|
593
|
-
hide?: boolean;
|
|
594
|
-
}): JSX.Element;
|
|
595
589
|
repeat?({
|
|
596
|
-
|
|
590
|
+
props,
|
|
597
591
|
ctrl,
|
|
592
|
+
part,
|
|
598
593
|
key
|
|
599
594
|
}: {
|
|
600
|
-
|
|
595
|
+
props: Array<Props>;
|
|
601
596
|
ctrl?: Controller;
|
|
602
|
-
|
|
597
|
+
part?: string;
|
|
598
|
+
key?: keyof Props | ((item: Props) => any);
|
|
603
599
|
}): JSX.Element;
|
|
604
|
-
methods?:
|
|
600
|
+
methods?: ComponentMethods<Props, Controller, Methods> &
|
|
605
601
|
ThisType<ComponentInstance<Props, Controller, Methods>>;
|
|
606
|
-
readonly prototype
|
|
607
|
-
|
|
608
|
-
// Methods will not be available on nested component, so omit.
|
|
609
|
-
readonly stubs?: Record<string, ComponentFunction<Props, Controller>>;
|
|
602
|
+
readonly prototype: ComponentInstance<Props, Controller>;
|
|
603
|
+
readonly stub?: Stubs;
|
|
610
604
|
}
|
|
611
605
|
|
|
612
|
-
type
|
|
613
|
-
render?(
|
|
614
|
-
|
|
606
|
+
type ComponentMethods<Props, Controller, Methods extends object = {}> = {
|
|
607
|
+
render?(
|
|
608
|
+
this: ComponentInstance<Props, Controller, Methods>,
|
|
609
|
+
props: Props,
|
|
610
|
+
ctrl: Controller
|
|
611
|
+
): void;
|
|
612
|
+
update?(this: ComponentInstance<Props, Controller, Methods>): void;
|
|
615
613
|
[key: string]: any;
|
|
616
614
|
};
|
|
617
615
|
|
|
@@ -630,11 +628,16 @@ declare module "wallace" {
|
|
|
630
628
|
*
|
|
631
629
|
* See cheat sheet by hovering over the module import for more details.
|
|
632
630
|
*/
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
631
|
+
type Uses<T = any> = T extends CompoundTypes
|
|
632
|
+
? ComponentFunction<T["props"], T["ctrl"], T["methods"], T["stub"]>
|
|
633
|
+
: ComponentFunction<T>;
|
|
634
|
+
|
|
635
|
+
interface CompoundTypes {
|
|
636
|
+
props?: any;
|
|
637
|
+
ctrl?: any;
|
|
638
|
+
methods?: object;
|
|
639
|
+
stub?: StubDefinition;
|
|
640
|
+
}
|
|
638
641
|
|
|
639
642
|
export interface Part {
|
|
640
643
|
update(): void;
|
|
@@ -651,7 +654,7 @@ declare module "wallace" {
|
|
|
651
654
|
el: HTMLElement;
|
|
652
655
|
props: Props;
|
|
653
656
|
ctrl: Controller;
|
|
654
|
-
ref: { [key: string]: HTMLElement
|
|
657
|
+
ref: { [key: string]: HTMLElement };
|
|
655
658
|
part: { [key: string]: Part };
|
|
656
659
|
base: Component<Props, Controller>;
|
|
657
660
|
} & Component<Props, Controller> &
|
|
@@ -898,10 +901,10 @@ interface DirectiveAttributes extends AllDomEvents {
|
|
|
898
901
|
/**
|
|
899
902
|
* ## Wallace directive: ctrl
|
|
900
903
|
*
|
|
901
|
-
* Specifies alternative `ctrl` for nested or repeated components.
|
|
904
|
+
* Specifies alternative `ctrl` for stubs, nested or repeated components.
|
|
902
905
|
*
|
|
903
906
|
* ```
|
|
904
|
-
* <MyComponent
|
|
907
|
+
* <MyComponent ctrl={altController} />
|
|
905
908
|
* ```
|
|
906
909
|
*/
|
|
907
910
|
ctrl?: any;
|
|
@@ -954,15 +957,6 @@ interface DirectiveAttributes extends AllDomEvents {
|
|
|
954
957
|
*/
|
|
955
958
|
if?: MustBeExpression;
|
|
956
959
|
|
|
957
|
-
/**
|
|
958
|
-
* ## Wallace directive: items
|
|
959
|
-
*
|
|
960
|
-
* Specifies items for repeated component. Must be an array of the props which the
|
|
961
|
-
* nested item accepts.
|
|
962
|
-
*
|
|
963
|
-
*/
|
|
964
|
-
items?: MustBeExpression;
|
|
965
|
-
|
|
966
960
|
/** ## Wallace directive: key
|
|
967
961
|
*
|
|
968
962
|
* Specifies a key for repeated components, creating an association between the key
|
|
@@ -987,12 +981,13 @@ interface DirectiveAttributes extends AllDomEvents {
|
|
|
987
981
|
* component.part.title.update();
|
|
988
982
|
* ```
|
|
989
983
|
*/
|
|
990
|
-
part?: null;
|
|
984
|
+
part?: string | null;
|
|
991
985
|
|
|
992
986
|
/**
|
|
993
987
|
* ## Wallace directive: props
|
|
994
988
|
*
|
|
995
|
-
* Specifies props for a nested component
|
|
989
|
+
* Specifies props for a stub, nested or repeated component - in which case it means
|
|
990
|
+
* an Array of the props used by the component.
|
|
996
991
|
*
|
|
997
992
|
*/
|
|
998
993
|
props?: MustBeExpression;
|
|
@@ -1012,7 +1007,7 @@ interface DirectiveAttributes extends AllDomEvents {
|
|
|
1012
1007
|
* component.ref.title.textContent = 'hello';
|
|
1013
1008
|
* ```
|
|
1014
1009
|
*/
|
|
1015
|
-
ref?: null;
|
|
1010
|
+
ref?: string | null;
|
|
1016
1011
|
|
|
1017
1012
|
/** ## Wallace directive: show
|
|
1018
1013
|
*
|
|
@@ -1062,1025 +1057,1035 @@ interface DirectiveAttributes extends AllDomEvents {
|
|
|
1062
1057
|
unique?: boolean;
|
|
1063
1058
|
}
|
|
1064
1059
|
|
|
1065
|
-
declare
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1060
|
+
// This makes this a module, which is needed to declare global, which is needed to make
|
|
1061
|
+
// LibraryManagedAttributes work.
|
|
1062
|
+
export {};
|
|
1063
|
+
|
|
1064
|
+
declare global {
|
|
1065
|
+
namespace JSX {
|
|
1066
|
+
// This allows <Foo props={x} if={y} />
|
|
1067
|
+
type Wrapper<Props> = Props | { props: Props; if?: boolean; part?: string };
|
|
1068
|
+
|
|
1069
|
+
type LibraryManagedAttributes<C, P> =
|
|
1070
|
+
C extends ComponentFunction<infer Props, any, any, any> ? Wrapper<Props> : P;
|
|
1071
|
+
|
|
1072
|
+
interface IntrinsicElements {
|
|
1073
|
+
/**
|
|
1074
|
+
* Nesting syntax:
|
|
1075
|
+
* ```
|
|
1076
|
+
* <MyComponent props={singleProps} />
|
|
1077
|
+
* <MyComponent.repeat props={arrayOfProps} />
|
|
1078
|
+
* <MyComponent.repeat props={arrayOfProps} key="id"/>
|
|
1079
|
+
* <MyComponent.repeat props={arrayOfProps} key={(i) => i.id}/>
|
|
1080
|
+
* ```
|
|
1081
|
+
*
|
|
1082
|
+
* Available Wallace directives:
|
|
1083
|
+
*
|
|
1084
|
+
* - `apply` runs a callback to modify an element.
|
|
1085
|
+
* - `bind` updates a value when an input is changed.
|
|
1086
|
+
* - `class:xyz` defines a set of classes to be toggled.
|
|
1087
|
+
* - `css` shorthand for `fixed:class`.
|
|
1088
|
+
* - `ctrl` specifies ctrl for nested/repeated components.
|
|
1089
|
+
* - `event` changes the event which `bind` reacts to.
|
|
1090
|
+
* - `fixed:xyz` sets a attribute from an expression at definition.
|
|
1091
|
+
* - `hide` sets an element or component's hidden property.
|
|
1092
|
+
* - `html` Set the element's `innnerHTML` property.
|
|
1093
|
+
* - `if` excludes an element from the DOM.
|
|
1094
|
+
* - `key` specifies a key for repeated components.
|
|
1095
|
+
* - `on[EventName]` creates an event handler (note the code is copied).
|
|
1096
|
+
* - `part:xyz` saves a reference to part of a component so it can be updated.
|
|
1097
|
+
* - `props` specifies props for stubs, nested or repeated components.
|
|
1098
|
+
* - `ref:xyz` saves a reference to an element or nested component.
|
|
1099
|
+
* - `show` sets and element or component's hidden property.
|
|
1100
|
+
* - `style:xyz` sets a specific style property.
|
|
1101
|
+
* - `toggle:xyz` toggles `xyz` as defined by `class:xyz` on same element, or class
|
|
1102
|
+
* `xyz`.
|
|
1103
|
+
* - `unique` can be set on components which are only used once for better performance.
|
|
1104
|
+
*
|
|
1105
|
+
* You will get more details by hovering on the directive itself, but unfortunetely
|
|
1106
|
+
* the tool tip won't display when you use a qualifier, like `class:danger`. To see
|
|
1107
|
+
* it you cantemporarily change it to something `class x:danger`.
|
|
1108
|
+
*/
|
|
1109
|
+
[elemName: string]: DirectiveAttributes & Record<string, any>;
|
|
1110
|
+
}
|
|
1111
|
+
interface Element {}
|
|
1112
|
+
interface ElementClass {}
|
|
1113
|
+
interface IntrinsicAttributes {}
|
|
1114
|
+
interface ElementAttributesProperty {}
|
|
1107
1115
|
}
|
|
1108
|
-
interface ElementClass {}
|
|
1109
|
-
interface IntrinsicAttributes {}
|
|
1110
|
-
interface ElementAttributesProperty {}
|
|
1111
|
-
}
|
|
1112
1116
|
|
|
1113
|
-
/**
|
|
1114
|
-
* These must be individually named to obtain the JSDoc.
|
|
1115
|
-
* They allow expressions or strings, so we don't bother enforcing type here.
|
|
1116
|
-
*/
|
|
1117
|
-
interface AllDomEvents {
|
|
1118
|
-
/**
|
|
1119
|
-
* ## Wallace event handler
|
|
1120
|
-
*
|
|
1121
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1122
|
-
*
|
|
1123
|
-
* ```
|
|
1124
|
-
* const MyComponent = (_, { event }) => (
|
|
1125
|
-
* <button onClick={clickHandler(event)} />
|
|
1126
|
-
* );
|
|
1127
|
-
* ```
|
|
1128
|
-
*/ onAbort?: any;
|
|
1129
|
-
/**
|
|
1130
|
-
* ## Wallace event handler.
|
|
1131
|
-
*
|
|
1132
|
-
* Use xargs to access the event:
|
|
1133
|
-
*
|
|
1134
|
-
* ```
|
|
1135
|
-
* const MyComponent = (_, { event }) => (
|
|
1136
|
-
* <button onClick={clickHandler(event)} />
|
|
1137
|
-
* );
|
|
1138
|
-
* ```
|
|
1139
|
-
*/ onAnimationCancel?: any;
|
|
1140
|
-
/**
|
|
1141
|
-
* ## Wallace event handler
|
|
1142
|
-
*
|
|
1143
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1144
|
-
*
|
|
1145
|
-
* ```
|
|
1146
|
-
* const MyComponent = (_, { event }) => (
|
|
1147
|
-
* <button onClick={clickHandler(event)} />
|
|
1148
|
-
* );
|
|
1149
|
-
* ```
|
|
1150
|
-
*/ onAnimationEnd?: any;
|
|
1151
|
-
/**
|
|
1152
|
-
* ## Wallace event handler
|
|
1153
|
-
*
|
|
1154
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1155
|
-
*
|
|
1156
|
-
* ```
|
|
1157
|
-
* const MyComponent = (_, { event }) => (
|
|
1158
|
-
* <button onClick={clickHandler(event)} />
|
|
1159
|
-
* );
|
|
1160
|
-
* ```
|
|
1161
|
-
*/ onAnimationIteration?: any;
|
|
1162
|
-
/**
|
|
1163
|
-
* ## Wallace event handler
|
|
1164
|
-
*
|
|
1165
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1166
|
-
*
|
|
1167
|
-
* ```
|
|
1168
|
-
* const MyComponent = (_, { event }) => (
|
|
1169
|
-
* <button onClick={clickHandler(event)} />
|
|
1170
|
-
* );
|
|
1171
|
-
* ```
|
|
1172
|
-
*/ onAnimationStart?: any;
|
|
1173
|
-
/**
|
|
1174
|
-
* ## Wallace event handler
|
|
1175
|
-
*
|
|
1176
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1177
|
-
*
|
|
1178
|
-
* ```
|
|
1179
|
-
* const MyComponent = (_, { event }) => (
|
|
1180
|
-
* <button onClick={clickHandler(event)} />
|
|
1181
|
-
* );
|
|
1182
|
-
* ```
|
|
1183
|
-
*/ onAuxClick?: any;
|
|
1184
|
-
/**
|
|
1185
|
-
* ## Wallace event handler
|
|
1186
|
-
*
|
|
1187
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1188
|
-
*
|
|
1189
|
-
* ```
|
|
1190
|
-
* const MyComponent = (_, { event }) => (
|
|
1191
|
-
* <button onClick={clickHandler(event)} />
|
|
1192
|
-
* );
|
|
1193
|
-
* ```
|
|
1194
|
-
*/ onBeforeInput?: any;
|
|
1195
|
-
/**
|
|
1196
|
-
* ## Wallace event handler
|
|
1197
|
-
*
|
|
1198
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1199
|
-
*
|
|
1200
|
-
* ```
|
|
1201
|
-
* const MyComponent = (_, { event }) => (
|
|
1202
|
-
* <button onClick={clickHandler(event)} />
|
|
1203
|
-
* );
|
|
1204
|
-
* ```
|
|
1205
|
-
*/ onBlur?: any;
|
|
1206
|
-
/**
|
|
1207
|
-
* ## Wallace event handler
|
|
1208
|
-
*
|
|
1209
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1210
|
-
*
|
|
1211
|
-
* ```
|
|
1212
|
-
* const MyComponent = (_, { event }) => (
|
|
1213
|
-
* <button onClick={clickHandler(event)} />
|
|
1214
|
-
* );
|
|
1215
|
-
* ```
|
|
1216
|
-
*/ onCancel?: any;
|
|
1217
|
-
/**
|
|
1218
|
-
* ## Wallace event handler
|
|
1219
|
-
*
|
|
1220
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1221
|
-
*
|
|
1222
|
-
* ```
|
|
1223
|
-
* const MyComponent = (_, { event }) => (
|
|
1224
|
-
* <button onClick={clickHandler(event)} />
|
|
1225
|
-
* );
|
|
1226
|
-
* ```
|
|
1227
|
-
*/ onCanPlay?: any;
|
|
1228
|
-
/**
|
|
1229
|
-
* ## Wallace event handler
|
|
1230
|
-
*
|
|
1231
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1232
|
-
*
|
|
1233
|
-
* ```
|
|
1234
|
-
* const MyComponent = (_, { event }) => (
|
|
1235
|
-
* <button onClick={clickHandler(event)} />
|
|
1236
|
-
* );
|
|
1237
|
-
* ```
|
|
1238
|
-
*/ onCanPlayThrough?: any;
|
|
1239
|
-
/**
|
|
1240
|
-
* ## Wallace event handler
|
|
1241
|
-
*
|
|
1242
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1243
|
-
*
|
|
1244
|
-
* ```
|
|
1245
|
-
* const MyComponent = (_, { event }) => (
|
|
1246
|
-
* <button onClick={clickHandler(event)} />
|
|
1247
|
-
* );
|
|
1248
|
-
* ```
|
|
1249
|
-
*/ onChange?: any;
|
|
1250
|
-
/**
|
|
1251
|
-
* ## Wallace event handler
|
|
1252
|
-
*
|
|
1253
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1254
|
-
*
|
|
1255
|
-
* ```
|
|
1256
|
-
* const MyComponent = (_, { event }) => (
|
|
1257
|
-
* <button onClick={clickHandler(event)} />
|
|
1258
|
-
* );
|
|
1259
|
-
* ```
|
|
1260
|
-
*/ onClick?: any;
|
|
1261
|
-
/**
|
|
1262
|
-
* ## Wallace event handler
|
|
1263
|
-
*
|
|
1264
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1265
|
-
*
|
|
1266
|
-
* ```
|
|
1267
|
-
* const MyComponent = (_, { event }) => (
|
|
1268
|
-
* <button onClick={clickHandler(event)} />
|
|
1269
|
-
* );
|
|
1270
|
-
* ```
|
|
1271
|
-
*/ onClose?: any;
|
|
1272
|
-
/**
|
|
1273
|
-
* ## Wallace event handler
|
|
1274
|
-
*
|
|
1275
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1276
|
-
*
|
|
1277
|
-
* ```
|
|
1278
|
-
* const MyComponent = (_, { event }) => (
|
|
1279
|
-
* <button onClick={clickHandler(event)} />
|
|
1280
|
-
* );
|
|
1281
|
-
* ```
|
|
1282
|
-
*/ onContextMenu?: any;
|
|
1283
|
-
/**
|
|
1284
|
-
* ## Wallace event handler
|
|
1285
|
-
*
|
|
1286
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1287
|
-
*
|
|
1288
|
-
* ```
|
|
1289
|
-
* const MyComponent = (_, { event }) => (
|
|
1290
|
-
* <button onClick={clickHandler(event)} />
|
|
1291
|
-
* );
|
|
1292
|
-
* ```
|
|
1293
|
-
*/ onCopy?: any;
|
|
1294
|
-
/**
|
|
1295
|
-
* ## Wallace event handler
|
|
1296
|
-
*
|
|
1297
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1298
|
-
*
|
|
1299
|
-
* ```
|
|
1300
|
-
* const MyComponent = (_, { event }) => (
|
|
1301
|
-
* <button onClick={clickHandler(event)} />
|
|
1302
|
-
* );
|
|
1303
|
-
* ```
|
|
1304
|
-
*/ onCueChange?: any;
|
|
1305
|
-
/**
|
|
1306
|
-
* ## Wallace event handler
|
|
1307
|
-
*
|
|
1308
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1309
|
-
*
|
|
1310
|
-
* ```
|
|
1311
|
-
* const MyComponent = (_, { event }) => (
|
|
1312
|
-
* <button onClick={clickHandler(event)} />
|
|
1313
|
-
* );
|
|
1314
|
-
* ```
|
|
1315
|
-
*/ onCut?: any;
|
|
1316
|
-
/**
|
|
1317
|
-
* ## Wallace event handler
|
|
1318
|
-
*
|
|
1319
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1320
|
-
*
|
|
1321
|
-
* ```
|
|
1322
|
-
* const MyComponent = (_, { event }) => (
|
|
1323
|
-
* <button onClick={clickHandler(event)} />
|
|
1324
|
-
* );
|
|
1325
|
-
* ```
|
|
1326
|
-
*/ onDblClick?: any;
|
|
1327
|
-
/**
|
|
1328
|
-
* ## Wallace event handler
|
|
1329
|
-
*
|
|
1330
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1331
|
-
*
|
|
1332
|
-
* ```
|
|
1333
|
-
* const MyComponent = (_, { event }) => (
|
|
1334
|
-
* <button onClick={clickHandler(event)} />
|
|
1335
|
-
* );
|
|
1336
|
-
* ```
|
|
1337
|
-
*/ onDrag?: any;
|
|
1338
|
-
/**
|
|
1339
|
-
* ## Wallace event handler
|
|
1340
|
-
*
|
|
1341
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1342
|
-
*
|
|
1343
|
-
* ```
|
|
1344
|
-
* const MyComponent = (_, { event }) => (
|
|
1345
|
-
* <button onClick={clickHandler(event)} />
|
|
1346
|
-
* );
|
|
1347
|
-
* ```
|
|
1348
|
-
*/ onDragEnd?: any;
|
|
1349
|
-
/**
|
|
1350
|
-
* ## Wallace event handler
|
|
1351
|
-
*
|
|
1352
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1353
|
-
*
|
|
1354
|
-
* ```
|
|
1355
|
-
* const MyComponent = (_, { event }) => (
|
|
1356
|
-
* <button onClick={clickHandler(event)} />
|
|
1357
|
-
* );
|
|
1358
|
-
* ```
|
|
1359
|
-
*/ onDragEnter?: any;
|
|
1360
|
-
/**
|
|
1361
|
-
* ## Wallace event handler
|
|
1362
|
-
*
|
|
1363
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1364
|
-
*
|
|
1365
|
-
* ```
|
|
1366
|
-
* const MyComponent = (_, { event }) => (
|
|
1367
|
-
* <button onClick={clickHandler(event)} />
|
|
1368
|
-
* );
|
|
1369
|
-
* ```
|
|
1370
|
-
*/ onDragLeave?: any;
|
|
1371
|
-
/**
|
|
1372
|
-
* ## Wallace event handler
|
|
1373
|
-
*
|
|
1374
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1375
|
-
*
|
|
1376
|
-
* ```
|
|
1377
|
-
* const MyComponent = (_, { event }) => (
|
|
1378
|
-
* <button onClick={clickHandler(event)} />
|
|
1379
|
-
* );
|
|
1380
|
-
* ```
|
|
1381
|
-
*/ onDragOver?: any;
|
|
1382
|
-
/**
|
|
1383
|
-
* ## Wallace event handler
|
|
1384
|
-
*
|
|
1385
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1386
|
-
*
|
|
1387
|
-
* ```
|
|
1388
|
-
* const MyComponent = (_, { event }) => (
|
|
1389
|
-
* <button onClick={clickHandler(event)} />
|
|
1390
|
-
* );
|
|
1391
|
-
* ```
|
|
1392
|
-
*/ onDragStart?: any;
|
|
1393
|
-
/**
|
|
1394
|
-
* ## Wallace event handler
|
|
1395
|
-
*
|
|
1396
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1397
|
-
*
|
|
1398
|
-
* ```
|
|
1399
|
-
* const MyComponent = (_, { event }) => (
|
|
1400
|
-
* <button onClick={clickHandler(event)} />
|
|
1401
|
-
* );
|
|
1402
|
-
* ```
|
|
1403
|
-
*/ onDrop?: any;
|
|
1404
|
-
/**
|
|
1405
|
-
* ## Wallace event handler
|
|
1406
|
-
*
|
|
1407
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1408
|
-
*
|
|
1409
|
-
* ```
|
|
1410
|
-
* const MyComponent = (_, { event }) => (
|
|
1411
|
-
* <button onClick={clickHandler(event)} />
|
|
1412
|
-
* );
|
|
1413
|
-
* ```
|
|
1414
|
-
*/ onDurationChange?: any;
|
|
1415
|
-
/**
|
|
1416
|
-
* ## Wallace event handler
|
|
1417
|
-
*
|
|
1418
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1419
|
-
*
|
|
1420
|
-
* ```
|
|
1421
|
-
* const MyComponent = (_, { event }) => (
|
|
1422
|
-
* <button onClick={clickHandler(event)} />
|
|
1423
|
-
* );
|
|
1424
|
-
* ```
|
|
1425
|
-
*/ onEmptied?: any;
|
|
1426
|
-
/**
|
|
1427
|
-
* ## Wallace event handler
|
|
1428
|
-
*
|
|
1429
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1430
|
-
*
|
|
1431
|
-
* ```
|
|
1432
|
-
* const MyComponent = (_, { event }) => (
|
|
1433
|
-
* <button onClick={clickHandler(event)} />
|
|
1434
|
-
* );
|
|
1435
|
-
* ```
|
|
1436
|
-
*/ onEnded?: any;
|
|
1437
|
-
/**
|
|
1438
|
-
* ## Wallace event handler
|
|
1439
|
-
*
|
|
1440
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1441
|
-
*
|
|
1442
|
-
* ```
|
|
1443
|
-
* const MyComponent = (_, { event }) => (
|
|
1444
|
-
* <button onClick={clickHandler(event)} />
|
|
1445
|
-
* );
|
|
1446
|
-
* ```
|
|
1447
|
-
*/ onError?: any;
|
|
1448
|
-
/**
|
|
1449
|
-
* ## Wallace event handler
|
|
1450
|
-
*
|
|
1451
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1452
|
-
*
|
|
1453
|
-
* ```
|
|
1454
|
-
* const MyComponent = (_, { event }) => (
|
|
1455
|
-
* <button onClick={clickHandler(event)} />
|
|
1456
|
-
* );
|
|
1457
|
-
* ```
|
|
1458
|
-
*/ onFocus?: any;
|
|
1459
|
-
/**
|
|
1460
|
-
* ## Wallace event handler
|
|
1461
|
-
*
|
|
1462
|
-
* Note the code is copied. Use xargs to access the event:
|
|
1463
|
-
*
|
|
1464
|
-
* ```
|
|
1465
|
-
* const MyComponent = (_, { event }) => (
|
|
1466
|
-
* <button onClick={clickHandler(event)} />
|
|
1467
|
-
* );
|
|
1468
|
-
* ```
|
|
1469
|
-
*/ onFormData?: any;
|
|
1470
1117
|
/**
|
|
1471
|
-
*
|
|
1472
|
-
*
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
1118
|
+
* These must be individually named to obtain the JSDoc.
|
|
1119
|
+
* They allow expressions or strings, so we don't bother enforcing type here.
|
|
1120
|
+
*/
|
|
1121
|
+
interface AllDomEvents {
|
|
1122
|
+
/**
|
|
1123
|
+
* ## Wallace event handler
|
|
1124
|
+
*
|
|
1125
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1126
|
+
*
|
|
1127
|
+
* ```
|
|
1128
|
+
* const MyComponent = (_, { event }) => (
|
|
1129
|
+
* <button onClick={clickHandler(event)} />
|
|
1130
|
+
* );
|
|
1131
|
+
* ```
|
|
1132
|
+
*/ onAbort?: any;
|
|
1133
|
+
/**
|
|
1134
|
+
* ## Wallace event handler.
|
|
1135
|
+
*
|
|
1136
|
+
* Use xargs to access the event:
|
|
1137
|
+
*
|
|
1138
|
+
* ```
|
|
1139
|
+
* const MyComponent = (_, { event }) => (
|
|
1140
|
+
* <button onClick={clickHandler(event)} />
|
|
1141
|
+
* );
|
|
1142
|
+
* ```
|
|
1143
|
+
*/ onAnimationCancel?: any;
|
|
1144
|
+
/**
|
|
1145
|
+
* ## Wallace event handler
|
|
1146
|
+
*
|
|
1147
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1148
|
+
*
|
|
1149
|
+
* ```
|
|
1150
|
+
* const MyComponent = (_, { event }) => (
|
|
1151
|
+
* <button onClick={clickHandler(event)} />
|
|
1152
|
+
* );
|
|
1153
|
+
* ```
|
|
1154
|
+
*/ onAnimationEnd?: any;
|
|
1155
|
+
/**
|
|
1156
|
+
* ## Wallace event handler
|
|
1157
|
+
*
|
|
1158
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1159
|
+
*
|
|
1160
|
+
* ```
|
|
1161
|
+
* const MyComponent = (_, { event }) => (
|
|
1162
|
+
* <button onClick={clickHandler(event)} />
|
|
1163
|
+
* );
|
|
1164
|
+
* ```
|
|
1165
|
+
*/ onAnimationIteration?: any;
|
|
1166
|
+
/**
|
|
1167
|
+
* ## Wallace event handler
|
|
1168
|
+
*
|
|
1169
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1170
|
+
*
|
|
1171
|
+
* ```
|
|
1172
|
+
* const MyComponent = (_, { event }) => (
|
|
1173
|
+
* <button onClick={clickHandler(event)} />
|
|
1174
|
+
* );
|
|
1175
|
+
* ```
|
|
1176
|
+
*/ onAnimationStart?: any;
|
|
1177
|
+
/**
|
|
1178
|
+
* ## Wallace event handler
|
|
1179
|
+
*
|
|
1180
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1181
|
+
*
|
|
1182
|
+
* ```
|
|
1183
|
+
* const MyComponent = (_, { event }) => (
|
|
1184
|
+
* <button onClick={clickHandler(event)} />
|
|
1185
|
+
* );
|
|
1186
|
+
* ```
|
|
1187
|
+
*/ onAuxClick?: any;
|
|
1188
|
+
/**
|
|
1189
|
+
* ## Wallace event handler
|
|
1190
|
+
*
|
|
1191
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1192
|
+
*
|
|
1193
|
+
* ```
|
|
1194
|
+
* const MyComponent = (_, { event }) => (
|
|
1195
|
+
* <button onClick={clickHandler(event)} />
|
|
1196
|
+
* );
|
|
1197
|
+
* ```
|
|
1198
|
+
*/ onBeforeInput?: any;
|
|
1199
|
+
/**
|
|
1200
|
+
* ## Wallace event handler
|
|
1201
|
+
*
|
|
1202
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1203
|
+
*
|
|
1204
|
+
* ```
|
|
1205
|
+
* const MyComponent = (_, { event }) => (
|
|
1206
|
+
* <button onClick={clickHandler(event)} />
|
|
1207
|
+
* );
|
|
1208
|
+
* ```
|
|
1209
|
+
*/ onBlur?: any;
|
|
1210
|
+
/**
|
|
1211
|
+
* ## Wallace event handler
|
|
1212
|
+
*
|
|
1213
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1214
|
+
*
|
|
1215
|
+
* ```
|
|
1216
|
+
* const MyComponent = (_, { event }) => (
|
|
1217
|
+
* <button onClick={clickHandler(event)} />
|
|
1218
|
+
* );
|
|
1219
|
+
* ```
|
|
1220
|
+
*/ onCancel?: any;
|
|
1221
|
+
/**
|
|
1222
|
+
* ## Wallace event handler
|
|
1223
|
+
*
|
|
1224
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1225
|
+
*
|
|
1226
|
+
* ```
|
|
1227
|
+
* const MyComponent = (_, { event }) => (
|
|
1228
|
+
* <button onClick={clickHandler(event)} />
|
|
1229
|
+
* );
|
|
1230
|
+
* ```
|
|
1231
|
+
*/ onCanPlay?: any;
|
|
1232
|
+
/**
|
|
1233
|
+
* ## Wallace event handler
|
|
1234
|
+
*
|
|
1235
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1236
|
+
*
|
|
1237
|
+
* ```
|
|
1238
|
+
* const MyComponent = (_, { event }) => (
|
|
1239
|
+
* <button onClick={clickHandler(event)} />
|
|
1240
|
+
* );
|
|
1241
|
+
* ```
|
|
1242
|
+
*/ onCanPlayThrough?: any;
|
|
1243
|
+
/**
|
|
1244
|
+
* ## Wallace event handler
|
|
1245
|
+
*
|
|
1246
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1247
|
+
*
|
|
1248
|
+
* ```
|
|
1249
|
+
* const MyComponent = (_, { event }) => (
|
|
1250
|
+
* <button onClick={clickHandler(event)} />
|
|
1251
|
+
* );
|
|
1252
|
+
* ```
|
|
1253
|
+
*/ onChange?: any;
|
|
1254
|
+
/**
|
|
1255
|
+
* ## Wallace event handler
|
|
1256
|
+
*
|
|
1257
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1258
|
+
*
|
|
1259
|
+
* ```
|
|
1260
|
+
* const MyComponent = (_, { event }) => (
|
|
1261
|
+
* <button onClick={clickHandler(event)} />
|
|
1262
|
+
* );
|
|
1263
|
+
* ```
|
|
1264
|
+
*/ onClick?: any;
|
|
1265
|
+
/**
|
|
1266
|
+
* ## Wallace event handler
|
|
1267
|
+
*
|
|
1268
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1269
|
+
*
|
|
1270
|
+
* ```
|
|
1271
|
+
* const MyComponent = (_, { event }) => (
|
|
1272
|
+
* <button onClick={clickHandler(event)} />
|
|
1273
|
+
* );
|
|
1274
|
+
* ```
|
|
1275
|
+
*/ onClose?: any;
|
|
1276
|
+
/**
|
|
1277
|
+
* ## Wallace event handler
|
|
1278
|
+
*
|
|
1279
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1280
|
+
*
|
|
1281
|
+
* ```
|
|
1282
|
+
* const MyComponent = (_, { event }) => (
|
|
1283
|
+
* <button onClick={clickHandler(event)} />
|
|
1284
|
+
* );
|
|
1285
|
+
* ```
|
|
1286
|
+
*/ onContextMenu?: any;
|
|
1287
|
+
/**
|
|
1288
|
+
* ## Wallace event handler
|
|
1289
|
+
*
|
|
1290
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1291
|
+
*
|
|
1292
|
+
* ```
|
|
1293
|
+
* const MyComponent = (_, { event }) => (
|
|
1294
|
+
* <button onClick={clickHandler(event)} />
|
|
1295
|
+
* );
|
|
1296
|
+
* ```
|
|
1297
|
+
*/ onCopy?: any;
|
|
1298
|
+
/**
|
|
1299
|
+
* ## Wallace event handler
|
|
1300
|
+
*
|
|
1301
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1302
|
+
*
|
|
1303
|
+
* ```
|
|
1304
|
+
* const MyComponent = (_, { event }) => (
|
|
1305
|
+
* <button onClick={clickHandler(event)} />
|
|
1306
|
+
* );
|
|
1307
|
+
* ```
|
|
1308
|
+
*/ onCueChange?: any;
|
|
1309
|
+
/**
|
|
1310
|
+
* ## Wallace event handler
|
|
1311
|
+
*
|
|
1312
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1313
|
+
*
|
|
1314
|
+
* ```
|
|
1315
|
+
* const MyComponent = (_, { event }) => (
|
|
1316
|
+
* <button onClick={clickHandler(event)} />
|
|
1317
|
+
* );
|
|
1318
|
+
* ```
|
|
1319
|
+
*/ onCut?: any;
|
|
1320
|
+
/**
|
|
1321
|
+
* ## Wallace event handler
|
|
1322
|
+
*
|
|
1323
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1324
|
+
*
|
|
1325
|
+
* ```
|
|
1326
|
+
* const MyComponent = (_, { event }) => (
|
|
1327
|
+
* <button onClick={clickHandler(event)} />
|
|
1328
|
+
* );
|
|
1329
|
+
* ```
|
|
1330
|
+
*/ onDblClick?: any;
|
|
1331
|
+
/**
|
|
1332
|
+
* ## Wallace event handler
|
|
1333
|
+
*
|
|
1334
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1335
|
+
*
|
|
1336
|
+
* ```
|
|
1337
|
+
* const MyComponent = (_, { event }) => (
|
|
1338
|
+
* <button onClick={clickHandler(event)} />
|
|
1339
|
+
* );
|
|
1340
|
+
* ```
|
|
1341
|
+
*/ onDrag?: any;
|
|
1342
|
+
/**
|
|
1343
|
+
* ## Wallace event handler
|
|
1344
|
+
*
|
|
1345
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1346
|
+
*
|
|
1347
|
+
* ```
|
|
1348
|
+
* const MyComponent = (_, { event }) => (
|
|
1349
|
+
* <button onClick={clickHandler(event)} />
|
|
1350
|
+
* );
|
|
1351
|
+
* ```
|
|
1352
|
+
*/ onDragEnd?: any;
|
|
1353
|
+
/**
|
|
1354
|
+
* ## Wallace event handler
|
|
1355
|
+
*
|
|
1356
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1357
|
+
*
|
|
1358
|
+
* ```
|
|
1359
|
+
* const MyComponent = (_, { event }) => (
|
|
1360
|
+
* <button onClick={clickHandler(event)} />
|
|
1361
|
+
* );
|
|
1362
|
+
* ```
|
|
1363
|
+
*/ onDragEnter?: any;
|
|
1364
|
+
/**
|
|
1365
|
+
* ## Wallace event handler
|
|
1366
|
+
*
|
|
1367
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1368
|
+
*
|
|
1369
|
+
* ```
|
|
1370
|
+
* const MyComponent = (_, { event }) => (
|
|
1371
|
+
* <button onClick={clickHandler(event)} />
|
|
1372
|
+
* );
|
|
1373
|
+
* ```
|
|
1374
|
+
*/ onDragLeave?: any;
|
|
1375
|
+
/**
|
|
1376
|
+
* ## Wallace event handler
|
|
1377
|
+
*
|
|
1378
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1379
|
+
*
|
|
1380
|
+
* ```
|
|
1381
|
+
* const MyComponent = (_, { event }) => (
|
|
1382
|
+
* <button onClick={clickHandler(event)} />
|
|
1383
|
+
* );
|
|
1384
|
+
* ```
|
|
1385
|
+
*/ onDragOver?: any;
|
|
1386
|
+
/**
|
|
1387
|
+
* ## Wallace event handler
|
|
1388
|
+
*
|
|
1389
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1390
|
+
*
|
|
1391
|
+
* ```
|
|
1392
|
+
* const MyComponent = (_, { event }) => (
|
|
1393
|
+
* <button onClick={clickHandler(event)} />
|
|
1394
|
+
* );
|
|
1395
|
+
* ```
|
|
1396
|
+
*/ onDragStart?: any;
|
|
1397
|
+
/**
|
|
1398
|
+
* ## Wallace event handler
|
|
1399
|
+
*
|
|
1400
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1401
|
+
*
|
|
1402
|
+
* ```
|
|
1403
|
+
* const MyComponent = (_, { event }) => (
|
|
1404
|
+
* <button onClick={clickHandler(event)} />
|
|
1405
|
+
* );
|
|
1406
|
+
* ```
|
|
1407
|
+
*/ onDrop?: any;
|
|
1408
|
+
/**
|
|
1409
|
+
* ## Wallace event handler
|
|
1410
|
+
*
|
|
1411
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1412
|
+
*
|
|
1413
|
+
* ```
|
|
1414
|
+
* const MyComponent = (_, { event }) => (
|
|
1415
|
+
* <button onClick={clickHandler(event)} />
|
|
1416
|
+
* );
|
|
1417
|
+
* ```
|
|
1418
|
+
*/ onDurationChange?: any;
|
|
1419
|
+
/**
|
|
1420
|
+
* ## Wallace event handler
|
|
1421
|
+
*
|
|
1422
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1423
|
+
*
|
|
1424
|
+
* ```
|
|
1425
|
+
* const MyComponent = (_, { event }) => (
|
|
1426
|
+
* <button onClick={clickHandler(event)} />
|
|
1427
|
+
* );
|
|
1428
|
+
* ```
|
|
1429
|
+
*/ onEmptied?: any;
|
|
1430
|
+
/**
|
|
1431
|
+
* ## Wallace event handler
|
|
1432
|
+
*
|
|
1433
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1434
|
+
*
|
|
1435
|
+
* ```
|
|
1436
|
+
* const MyComponent = (_, { event }) => (
|
|
1437
|
+
* <button onClick={clickHandler(event)} />
|
|
1438
|
+
* );
|
|
1439
|
+
* ```
|
|
1440
|
+
*/ onEnded?: any;
|
|
1441
|
+
/**
|
|
1442
|
+
* ## Wallace event handler
|
|
1443
|
+
*
|
|
1444
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1445
|
+
*
|
|
1446
|
+
* ```
|
|
1447
|
+
* const MyComponent = (_, { event }) => (
|
|
1448
|
+
* <button onClick={clickHandler(event)} />
|
|
1449
|
+
* );
|
|
1450
|
+
* ```
|
|
1451
|
+
*/ onError?: any;
|
|
1452
|
+
/**
|
|
1453
|
+
* ## Wallace event handler
|
|
1454
|
+
*
|
|
1455
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1456
|
+
*
|
|
1457
|
+
* ```
|
|
1458
|
+
* const MyComponent = (_, { event }) => (
|
|
1459
|
+
* <button onClick={clickHandler(event)} />
|
|
1460
|
+
* );
|
|
1461
|
+
* ```
|
|
1462
|
+
*/ onFocus?: any;
|
|
1463
|
+
/**
|
|
1464
|
+
* ## Wallace event handler
|
|
1465
|
+
*
|
|
1466
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1467
|
+
*
|
|
1468
|
+
* ```
|
|
1469
|
+
* const MyComponent = (_, { event }) => (
|
|
1470
|
+
* <button onClick={clickHandler(event)} />
|
|
1471
|
+
* );
|
|
1472
|
+
* ```
|
|
1473
|
+
*/ onFormData?: any;
|
|
1474
|
+
/**
|
|
1475
|
+
* ## Wallace event handler
|
|
1476
|
+
*
|
|
1477
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1478
|
+
*
|
|
1479
|
+
* ```
|
|
1480
|
+
* const MyComponent = (_, { event }) => (
|
|
1481
|
+
* <button onClick={clickHandler(event)} />
|
|
1482
|
+
* );
|
|
1483
|
+
* ```
|
|
1484
|
+
*/ onGotPointerCapture?: any;
|
|
1485
|
+
/**
|
|
1486
|
+
* ## Wallace event handler
|
|
1487
|
+
*
|
|
1488
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1489
|
+
*
|
|
1490
|
+
* ```
|
|
1491
|
+
* const MyComponent = (_, { event }) => (
|
|
1492
|
+
* <button onClick={clickHandler(event)} />
|
|
1493
|
+
* );
|
|
1494
|
+
* ```
|
|
1495
|
+
*/ onInput?: any;
|
|
1496
|
+
/**
|
|
1497
|
+
* ## Wallace event handler
|
|
1498
|
+
*
|
|
1499
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1500
|
+
*
|
|
1501
|
+
* ```
|
|
1502
|
+
* const MyComponent = (_, { event }) => (
|
|
1503
|
+
* <button onClick={clickHandler(event)} />
|
|
1504
|
+
* );
|
|
1505
|
+
* ```
|
|
1506
|
+
*/ onInvalid?: any;
|
|
1507
|
+
/**
|
|
1508
|
+
* ## Wallace event handler
|
|
1509
|
+
*
|
|
1510
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1511
|
+
*
|
|
1512
|
+
* ```
|
|
1513
|
+
* const MyComponent = (_, { event }) => (
|
|
1514
|
+
* <button onClick={clickHandler(event)} />
|
|
1515
|
+
* );
|
|
1516
|
+
* ```
|
|
1517
|
+
*/ onKeyDown?: any;
|
|
1518
|
+
/**
|
|
1519
|
+
* ## Wallace event handler
|
|
1520
|
+
*
|
|
1521
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1522
|
+
*
|
|
1523
|
+
* ```
|
|
1524
|
+
* const MyComponent = (_, { event }) => (
|
|
1525
|
+
* <button onClick={clickHandler(event)} />
|
|
1526
|
+
* );
|
|
1527
|
+
* ```
|
|
1528
|
+
*/ onKeyPress?: any;
|
|
1529
|
+
/**
|
|
1530
|
+
* ## Wallace event handler
|
|
1531
|
+
*
|
|
1532
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1533
|
+
*
|
|
1534
|
+
* ```
|
|
1535
|
+
* const MyComponent = (_, { event }) => (
|
|
1536
|
+
* <button onClick={clickHandler(event)} />
|
|
1537
|
+
* );
|
|
1538
|
+
* ```
|
|
1539
|
+
*/ onKeyUp?: any;
|
|
1540
|
+
/**
|
|
1541
|
+
* ## Wallace event handler
|
|
1542
|
+
*
|
|
1543
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1544
|
+
*
|
|
1545
|
+
* ```
|
|
1546
|
+
* const MyComponent = (_, { event }) => (
|
|
1547
|
+
* <button onClick={clickHandler(event)} />
|
|
1548
|
+
* );
|
|
1549
|
+
* ```
|
|
1550
|
+
*/ onLoad?: any;
|
|
1551
|
+
/**
|
|
1552
|
+
* ## Wallace event handler
|
|
1553
|
+
*
|
|
1554
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1555
|
+
*
|
|
1556
|
+
* ```
|
|
1557
|
+
* const MyComponent = (_, { event }) => (
|
|
1558
|
+
* <button onClick={clickHandler(event)} />
|
|
1559
|
+
* );
|
|
1560
|
+
* ```
|
|
1561
|
+
*/ onLoadedData?: any;
|
|
1562
|
+
/**
|
|
1563
|
+
* ## Wallace event handler
|
|
1564
|
+
*
|
|
1565
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1566
|
+
*
|
|
1567
|
+
* ```
|
|
1568
|
+
* const MyComponent = (_, { event }) => (
|
|
1569
|
+
* <button onClick={clickHandler(event)} />
|
|
1570
|
+
* );
|
|
1571
|
+
* ```
|
|
1572
|
+
*/ onLoadedMetadata?: any;
|
|
1573
|
+
/**
|
|
1574
|
+
* ## Wallace event handler
|
|
1575
|
+
*
|
|
1576
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1577
|
+
*
|
|
1578
|
+
* ```
|
|
1579
|
+
* const MyComponent = (_, { event }) => (
|
|
1580
|
+
* <button onClick={clickHandler(event)} />
|
|
1581
|
+
* );
|
|
1582
|
+
* ```
|
|
1583
|
+
*/ onLoadStart?: any;
|
|
1584
|
+
/**
|
|
1585
|
+
* ## Wallace event handler
|
|
1586
|
+
*
|
|
1587
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1588
|
+
*
|
|
1589
|
+
* ```
|
|
1590
|
+
* const MyComponent = (_, { event }) => (
|
|
1591
|
+
* <button onClick={clickHandler(event)} />
|
|
1592
|
+
* );
|
|
1593
|
+
* ```
|
|
1594
|
+
*/ onLostPointerCapture?: any;
|
|
1595
|
+
/**
|
|
1596
|
+
* ## Wallace event handler
|
|
1597
|
+
*
|
|
1598
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1599
|
+
*
|
|
1600
|
+
* ```
|
|
1601
|
+
* const MyComponent = (_, { event }) => (
|
|
1602
|
+
* <button onClick={clickHandler(event)} />
|
|
1603
|
+
* );
|
|
1604
|
+
* ```
|
|
1605
|
+
*/ onMouseDown?: any;
|
|
1606
|
+
/**
|
|
1607
|
+
* ## Wallace event handler
|
|
1608
|
+
*
|
|
1609
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1610
|
+
*
|
|
1611
|
+
* ```
|
|
1612
|
+
* const MyComponent = (_, { event }) => (
|
|
1613
|
+
* <button onClick={clickHandler(event)} />
|
|
1614
|
+
* );
|
|
1615
|
+
* ```
|
|
1616
|
+
*/ onMouseEnter?: any;
|
|
1617
|
+
/**
|
|
1618
|
+
* ## Wallace event handler
|
|
1619
|
+
*
|
|
1620
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1621
|
+
*
|
|
1622
|
+
* ```
|
|
1623
|
+
* const MyComponent = (_, { event }) => (
|
|
1624
|
+
* <button onClick={clickHandler(event)} />
|
|
1625
|
+
* );
|
|
1626
|
+
* ```
|
|
1627
|
+
*/ onMouseLeave?: any;
|
|
1628
|
+
/**
|
|
1629
|
+
* ## Wallace event handler
|
|
1630
|
+
*
|
|
1631
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1632
|
+
*
|
|
1633
|
+
* ```
|
|
1634
|
+
* const MyComponent = (_, { event }) => (
|
|
1635
|
+
* <button onClick={clickHandler(event)} />
|
|
1636
|
+
* );
|
|
1637
|
+
* ```
|
|
1638
|
+
*/ onMouseMove?: any;
|
|
1639
|
+
/**
|
|
1640
|
+
* ## Wallace event handler
|
|
1641
|
+
*
|
|
1642
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1643
|
+
*
|
|
1644
|
+
* ```
|
|
1645
|
+
* const MyComponent = (_, { event }) => (
|
|
1646
|
+
* <button onClick={clickHandler(event)} />
|
|
1647
|
+
* );
|
|
1648
|
+
* ```
|
|
1649
|
+
*/ onMouseOut?: any;
|
|
1650
|
+
/**
|
|
1651
|
+
* ## Wallace event handler
|
|
1652
|
+
*
|
|
1653
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1654
|
+
*
|
|
1655
|
+
* ```
|
|
1656
|
+
* const MyComponent = (_, { event }) => (
|
|
1657
|
+
* <button onClick={clickHandler(event)} />
|
|
1658
|
+
* );
|
|
1659
|
+
* ```
|
|
1660
|
+
*/ onMouseOver?: any;
|
|
1661
|
+
/**
|
|
1662
|
+
* ## Wallace event handler
|
|
1663
|
+
*
|
|
1664
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1665
|
+
*
|
|
1666
|
+
* ```
|
|
1667
|
+
* const MyComponent = (_, { event }) => (
|
|
1668
|
+
* <button onClick={clickHandler(event)} />
|
|
1669
|
+
* );
|
|
1670
|
+
* ```
|
|
1671
|
+
*/ onMouseUp?: any;
|
|
1672
|
+
/**
|
|
1673
|
+
* ## Wallace event handler
|
|
1674
|
+
*
|
|
1675
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1676
|
+
*
|
|
1677
|
+
* ```
|
|
1678
|
+
* const MyComponent = (_, { event }) => (
|
|
1679
|
+
* <button onClick={clickHandler(event)} />
|
|
1680
|
+
* );
|
|
1681
|
+
* ```
|
|
1682
|
+
*/ onPaste?: any;
|
|
1683
|
+
/**
|
|
1684
|
+
* ## Wallace event handler
|
|
1685
|
+
*
|
|
1686
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1687
|
+
*
|
|
1688
|
+
* ```
|
|
1689
|
+
* const MyComponent = (_, { event }) => (
|
|
1690
|
+
* <button onClick={clickHandler(event)} />
|
|
1691
|
+
* );
|
|
1692
|
+
* ```
|
|
1693
|
+
*/ onPause?: any;
|
|
1694
|
+
/**
|
|
1695
|
+
* ## Wallace event handler
|
|
1696
|
+
*
|
|
1697
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1698
|
+
*
|
|
1699
|
+
* ```
|
|
1700
|
+
* const MyComponent = (_, { event }) => (
|
|
1701
|
+
* <button onClick={clickHandler(event)} />
|
|
1702
|
+
* );
|
|
1703
|
+
* ```
|
|
1704
|
+
*/ onPlay?: any;
|
|
1705
|
+
/**
|
|
1706
|
+
* ## Wallace event handler
|
|
1707
|
+
*
|
|
1708
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1709
|
+
*
|
|
1710
|
+
* ```
|
|
1711
|
+
* const MyComponent = (_, { event }) => (
|
|
1712
|
+
* <button onClick={clickHandler(event)} />
|
|
1713
|
+
* );
|
|
1714
|
+
* ```
|
|
1715
|
+
*/ onPlaying?: any;
|
|
1716
|
+
/**
|
|
1717
|
+
* ## Wallace event handler
|
|
1718
|
+
*
|
|
1719
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1720
|
+
*
|
|
1721
|
+
* ```
|
|
1722
|
+
* const MyComponent = (_, { event }) => (
|
|
1723
|
+
* <button onClick={clickHandler(event)} />
|
|
1724
|
+
* );
|
|
1725
|
+
* ```
|
|
1726
|
+
*/ onPointerCancel?: any;
|
|
1727
|
+
/**
|
|
1728
|
+
* ## Wallace event handler
|
|
1729
|
+
*
|
|
1730
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1731
|
+
*
|
|
1732
|
+
* ```
|
|
1733
|
+
* const MyComponent = (_, { event }) => (
|
|
1734
|
+
* <button onClick={clickHandler(event)} />
|
|
1735
|
+
* );
|
|
1736
|
+
* ```
|
|
1737
|
+
*/ onPointerDown?: any;
|
|
1738
|
+
/**
|
|
1739
|
+
* ## Wallace event handler
|
|
1740
|
+
*
|
|
1741
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1742
|
+
*
|
|
1743
|
+
* ```
|
|
1744
|
+
* const MyComponent = (_, { event }) => (
|
|
1745
|
+
* <button onClick={clickHandler(event)} />
|
|
1746
|
+
* );
|
|
1747
|
+
* ```
|
|
1748
|
+
*/ onPointerEnter?: any;
|
|
1749
|
+
/**
|
|
1750
|
+
* ## Wallace event handler
|
|
1751
|
+
*
|
|
1752
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1753
|
+
*
|
|
1754
|
+
* ```
|
|
1755
|
+
* const MyComponent = (_, { event }) => (
|
|
1756
|
+
* <button onClick={clickHandler(event)} />
|
|
1757
|
+
* );
|
|
1758
|
+
* ```
|
|
1759
|
+
*/ onPointerLeave?: any;
|
|
1760
|
+
/**
|
|
1761
|
+
* ## Wallace event handler
|
|
1762
|
+
*
|
|
1763
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1764
|
+
*
|
|
1765
|
+
* ```
|
|
1766
|
+
* const MyComponent = (_, { event }) => (
|
|
1767
|
+
* <button onClick={clickHandler(event)} />
|
|
1768
|
+
* );
|
|
1769
|
+
* ```
|
|
1770
|
+
*/ onPointerMove?: any;
|
|
1771
|
+
/**
|
|
1772
|
+
* ## Wallace event handler
|
|
1773
|
+
*
|
|
1774
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1775
|
+
*
|
|
1776
|
+
* ```
|
|
1777
|
+
* const MyComponent = (_, { event }) => (
|
|
1778
|
+
* <button onClick={clickHandler(event)} />
|
|
1779
|
+
* );
|
|
1780
|
+
* ```
|
|
1781
|
+
*/ onPointerOut?: any;
|
|
1782
|
+
/**
|
|
1783
|
+
* ## Wallace event handler
|
|
1784
|
+
*
|
|
1785
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1786
|
+
*
|
|
1787
|
+
* ```
|
|
1788
|
+
* const MyComponent = (_, { event }) => (
|
|
1789
|
+
* <button onClick={clickHandler(event)} />
|
|
1790
|
+
* );
|
|
1791
|
+
* ```
|
|
1792
|
+
*/ onPointerOver?: any;
|
|
1793
|
+
/**
|
|
1794
|
+
* ## Wallace event handler
|
|
1795
|
+
*
|
|
1796
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1797
|
+
*
|
|
1798
|
+
* ```
|
|
1799
|
+
* const MyComponent = (_, { event }) => (
|
|
1800
|
+
* <button onClick={clickHandler(event)} />
|
|
1801
|
+
* );
|
|
1802
|
+
* ```
|
|
1803
|
+
*/ onPointerUp?: any;
|
|
1804
|
+
/**
|
|
1805
|
+
* ## Wallace event handler
|
|
1806
|
+
*
|
|
1807
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1808
|
+
*
|
|
1809
|
+
* ```
|
|
1810
|
+
* const MyComponent = (_, { event }) => (
|
|
1811
|
+
* <button onClick={clickHandler(event)} />
|
|
1812
|
+
* );
|
|
1813
|
+
* ```
|
|
1814
|
+
*/ onProgress?: any;
|
|
1815
|
+
/**
|
|
1816
|
+
* ## Wallace event handler
|
|
1817
|
+
*
|
|
1818
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1819
|
+
*
|
|
1820
|
+
* ```
|
|
1821
|
+
* const MyComponent = (_, { event }) => (
|
|
1822
|
+
* <button onClick={clickHandler(event)} />
|
|
1823
|
+
* );
|
|
1824
|
+
* ```
|
|
1825
|
+
*/ onRateChange?: any;
|
|
1826
|
+
/**
|
|
1827
|
+
* ## Wallace event handler
|
|
1828
|
+
*
|
|
1829
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1830
|
+
*
|
|
1831
|
+
* ```
|
|
1832
|
+
* const MyComponent = (_, { event }) => (
|
|
1833
|
+
* <button onClick={clickHandler(event)} />
|
|
1834
|
+
* );
|
|
1835
|
+
* ```
|
|
1836
|
+
*/ onReset?: any;
|
|
1837
|
+
/**
|
|
1838
|
+
* ## Wallace event handler
|
|
1839
|
+
*
|
|
1840
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1841
|
+
*
|
|
1842
|
+
* ```
|
|
1843
|
+
* const MyComponent = (_, { event }) => (
|
|
1844
|
+
* <button onClick={clickHandler(event)} />
|
|
1845
|
+
* );
|
|
1846
|
+
* ```
|
|
1847
|
+
*/ onResize?: any;
|
|
1848
|
+
/**
|
|
1849
|
+
* ## Wallace event handler
|
|
1850
|
+
*
|
|
1851
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1852
|
+
*
|
|
1853
|
+
* ```
|
|
1854
|
+
* const MyComponent = (_, { event }) => (
|
|
1855
|
+
* <button onClick={clickHandler(event)} />
|
|
1856
|
+
* );
|
|
1857
|
+
* ```
|
|
1858
|
+
*/ onScroll?: any;
|
|
1859
|
+
/**
|
|
1860
|
+
* ## Wallace event handler
|
|
1861
|
+
*
|
|
1862
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1863
|
+
*
|
|
1864
|
+
* ```
|
|
1865
|
+
* const MyComponent = (_, { event }) => (
|
|
1866
|
+
* <button onClick={clickHandler(event)} />
|
|
1867
|
+
* );
|
|
1868
|
+
* ```
|
|
1869
|
+
*/ onSecurityPolicyViolation?: any;
|
|
1870
|
+
/**
|
|
1871
|
+
* ## Wallace event handler
|
|
1872
|
+
*
|
|
1873
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1874
|
+
*
|
|
1875
|
+
* ```
|
|
1876
|
+
* const MyComponent = (_, { event }) => (
|
|
1877
|
+
* <button onClick={clickHandler(event)} />
|
|
1878
|
+
* );
|
|
1879
|
+
* ```
|
|
1880
|
+
*/ onSeeked?: any;
|
|
1881
|
+
/**
|
|
1882
|
+
* ## Wallace event handler
|
|
1883
|
+
*
|
|
1884
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1885
|
+
*
|
|
1886
|
+
* ```
|
|
1887
|
+
* const MyComponent = (_, { event }) => (
|
|
1888
|
+
* <button onClick={clickHandler(event)} />
|
|
1889
|
+
* );
|
|
1890
|
+
* ```
|
|
1891
|
+
*/ onSeeking?: any;
|
|
1892
|
+
/**
|
|
1893
|
+
* ## Wallace event handler
|
|
1894
|
+
*
|
|
1895
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1896
|
+
*
|
|
1897
|
+
* ```
|
|
1898
|
+
* const MyComponent = (_, { event }) => (
|
|
1899
|
+
* <button onClick={clickHandler(event)} />
|
|
1900
|
+
* );
|
|
1901
|
+
* ```
|
|
1902
|
+
*/ onSelect?: any;
|
|
1903
|
+
/**
|
|
1904
|
+
* ## Wallace event handler
|
|
1905
|
+
*
|
|
1906
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1907
|
+
*
|
|
1908
|
+
* ```
|
|
1909
|
+
* const MyComponent = (_, { event }) => (
|
|
1910
|
+
* <button onClick={clickHandler(event)} />
|
|
1911
|
+
* );
|
|
1912
|
+
* ```
|
|
1913
|
+
*/ onSlotChange?: any;
|
|
1914
|
+
/**
|
|
1915
|
+
* ## Wallace event handler
|
|
1916
|
+
*
|
|
1917
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1918
|
+
*
|
|
1919
|
+
* ```
|
|
1920
|
+
* const MyComponent = (_, { event }) => (
|
|
1921
|
+
* <button onClick={clickHandler(event)} />
|
|
1922
|
+
* );
|
|
1923
|
+
* ```
|
|
1924
|
+
*/ onStalled?: any;
|
|
1925
|
+
/**
|
|
1926
|
+
* ## Wallace event handler
|
|
1927
|
+
*
|
|
1928
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1929
|
+
*
|
|
1930
|
+
* ```
|
|
1931
|
+
* const MyComponent = (_, { event }) => (
|
|
1932
|
+
* <button onClick={clickHandler(event)} />
|
|
1933
|
+
* );
|
|
1934
|
+
* ```
|
|
1935
|
+
*/ onSubmit?: any;
|
|
1936
|
+
/**
|
|
1937
|
+
* ## Wallace event handler
|
|
1938
|
+
*
|
|
1939
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1940
|
+
*
|
|
1941
|
+
* ```
|
|
1942
|
+
* const MyComponent = (_, { event }) => (
|
|
1943
|
+
* <button onClick={clickHandler(event)} />
|
|
1944
|
+
* );
|
|
1945
|
+
* ```
|
|
1946
|
+
*/ onSuspend?: any;
|
|
1947
|
+
/**
|
|
1948
|
+
* ## Wallace event handler
|
|
1949
|
+
*
|
|
1950
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1951
|
+
*
|
|
1952
|
+
* ```
|
|
1953
|
+
* const MyComponent = (_, { event }) => (
|
|
1954
|
+
* <button onClick={clickHandler(event)} />
|
|
1955
|
+
* );
|
|
1956
|
+
* ```
|
|
1957
|
+
*/ onTimeUpdate?: any;
|
|
1958
|
+
/**
|
|
1959
|
+
* ## Wallace event handler
|
|
1960
|
+
*
|
|
1961
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1962
|
+
*
|
|
1963
|
+
* ```
|
|
1964
|
+
* const MyComponent = (_, { event }) => (
|
|
1965
|
+
* <button onClick={clickHandler(event)} />
|
|
1966
|
+
* );
|
|
1967
|
+
* ```
|
|
1968
|
+
*/ onToggle?: any;
|
|
1969
|
+
/**
|
|
1970
|
+
* ## Wallace event handler
|
|
1971
|
+
*
|
|
1972
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1973
|
+
*
|
|
1974
|
+
* ```
|
|
1975
|
+
* const MyComponent = (_, { event }) => (
|
|
1976
|
+
* <button onClick={clickHandler(event)} />
|
|
1977
|
+
* );
|
|
1978
|
+
* ```
|
|
1979
|
+
*/ onTouchCancel?: any;
|
|
1980
|
+
/**
|
|
1981
|
+
* ## Wallace event handler
|
|
1982
|
+
*
|
|
1983
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1984
|
+
*
|
|
1985
|
+
* ```
|
|
1986
|
+
* const MyComponent = (_, { event }) => (
|
|
1987
|
+
* <button onClick={clickHandler(event)} />
|
|
1988
|
+
* );
|
|
1989
|
+
* ```
|
|
1990
|
+
*/ onTouchEnd?: any;
|
|
1991
|
+
/**
|
|
1992
|
+
* ## Wallace event handler
|
|
1993
|
+
*
|
|
1994
|
+
* Note the code is copied. Use xargs to access the event:
|
|
1995
|
+
*
|
|
1996
|
+
* ```
|
|
1997
|
+
* const MyComponent = (_, { event }) => (
|
|
1998
|
+
* <button onClick={clickHandler(event)} />
|
|
1999
|
+
* );
|
|
2000
|
+
* ```
|
|
2001
|
+
*/ onTouchMove?: any;
|
|
2002
|
+
/**
|
|
2003
|
+
* ## Wallace event handler
|
|
2004
|
+
*
|
|
2005
|
+
* Note the code is copied. Use xargs to access the event:
|
|
2006
|
+
*
|
|
2007
|
+
* ```
|
|
2008
|
+
* const MyComponent = (_, { event }) => (
|
|
2009
|
+
* <button onClick={clickHandler(event)} />
|
|
2010
|
+
* );
|
|
2011
|
+
* ```
|
|
2012
|
+
*/ onTouchStart?: any;
|
|
2013
|
+
/**
|
|
2014
|
+
* ## Wallace event handler
|
|
2015
|
+
*
|
|
2016
|
+
* Note the code is copied. Use xargs to access the event:
|
|
2017
|
+
*
|
|
2018
|
+
* ```
|
|
2019
|
+
* const MyComponent = (_, { event }) => (
|
|
2020
|
+
* <button onClick={clickHandler(event)} />
|
|
2021
|
+
* );
|
|
2022
|
+
* ```
|
|
2023
|
+
*/ onTransitionCancel?: any;
|
|
2024
|
+
/**
|
|
2025
|
+
* ## Wallace event handler
|
|
2026
|
+
*
|
|
2027
|
+
* Note the code is copied. Use xargs to access the event:
|
|
2028
|
+
*
|
|
2029
|
+
* ```
|
|
2030
|
+
* const MyComponent = (_, { event }) => (
|
|
2031
|
+
* <button onClick={clickHandler(event)} />
|
|
2032
|
+
* );
|
|
2033
|
+
* ```
|
|
2034
|
+
*/ onTransitionEnd?: any;
|
|
2035
|
+
/**
|
|
2036
|
+
* ## Wallace event handler
|
|
2037
|
+
*
|
|
2038
|
+
* Note the code is copied. Use xargs to access the event:
|
|
2039
|
+
*
|
|
2040
|
+
* ```
|
|
2041
|
+
* const MyComponent = (_, { event }) => (
|
|
2042
|
+
* <button onClick={clickHandler(event)} />
|
|
2043
|
+
* );
|
|
2044
|
+
* ```
|
|
2045
|
+
*/ onTransitionRun?: any;
|
|
2046
|
+
/**
|
|
2047
|
+
* ## Wallace event handler
|
|
2048
|
+
*
|
|
2049
|
+
* Note the code is copied. Use xargs to access the event:
|
|
2050
|
+
*
|
|
2051
|
+
* ```
|
|
2052
|
+
* const MyComponent = (_, { event }) => (
|
|
2053
|
+
* <button onClick={clickHandler(event)} />
|
|
2054
|
+
* );
|
|
2055
|
+
* ```
|
|
2056
|
+
*/ onTransitionStart?: any;
|
|
2057
|
+
/**
|
|
2058
|
+
* ## Wallace event handler
|
|
2059
|
+
*
|
|
2060
|
+
* Note the code is copied. Use xargs to access the event:
|
|
2061
|
+
*
|
|
2062
|
+
* ```
|
|
2063
|
+
* const MyComponent = (_, { event }) => (
|
|
2064
|
+
* <button onClick={clickHandler(event)} />
|
|
2065
|
+
* );
|
|
2066
|
+
* ```
|
|
2067
|
+
*/ onVolumeChange?: any;
|
|
2068
|
+
/**
|
|
2069
|
+
* ## Wallace event handler
|
|
2070
|
+
*
|
|
2071
|
+
* Note the code is copied. Use xargs to access the event:
|
|
2072
|
+
*
|
|
2073
|
+
* ```
|
|
2074
|
+
* const MyComponent = (_, { event }) => (
|
|
2075
|
+
* <button onClick={clickHandler(event)} />
|
|
2076
|
+
* );
|
|
2077
|
+
* ```
|
|
2078
|
+
*/ onWaiting?: any;
|
|
2079
|
+
/**
|
|
2080
|
+
* ## Wallace event handler
|
|
2081
|
+
*
|
|
2082
|
+
* Note the code is copied. Use xargs to access the event:
|
|
2083
|
+
*
|
|
2084
|
+
* ```
|
|
2085
|
+
* const MyComponent = (_, { event }) => (
|
|
2086
|
+
* <button onClick={clickHandler(event)} />
|
|
2087
|
+
* );
|
|
2088
|
+
* ```
|
|
2089
|
+
*/ onWheel?: any;
|
|
2090
|
+
}
|
|
2086
2091
|
}
|