@miden-sdk/miden-wallet-adapter-miden 0.16.2 → 0.16.3

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.
@@ -1,5217 +0,0 @@
1
- [**@miden-sdk/miden-wallet-adapter-miden**](../README.md)
2
-
3
- ***
4
-
5
- [@miden-sdk/miden-wallet-adapter-miden](../README.md) / MidenWindow
6
-
7
- # Interface: MidenWindow
8
-
9
- ## Extends
10
-
11
- - `Window`
12
-
13
- ## Indexable
14
-
15
- \[`index`: `number`\]: `Window`
16
-
17
- ## Properties
18
-
19
- ### caches
20
-
21
- > `readonly` **caches**: `CacheStorage`
22
-
23
- Available only in secure contexts.
24
-
25
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches)
26
-
27
- #### Inherited from
28
-
29
- `Window.caches`
30
-
31
- ***
32
-
33
- ### ~~clientInformation~~
34
-
35
- > `readonly` **clientInformation**: `Navigator`
36
-
37
- #### Deprecated
38
-
39
- This is a legacy alias of `navigator`.
40
-
41
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/navigator)
42
-
43
- #### Inherited from
44
-
45
- `Window.clientInformation`
46
-
47
- ***
48
-
49
- ### closed
50
-
51
- > `readonly` **closed**: `boolean`
52
-
53
- The **`Window.closed`** read-only property indicates whether the referenced window is closed or not.
54
-
55
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/closed)
56
-
57
- #### Inherited from
58
-
59
- `Window.closed`
60
-
61
- ***
62
-
63
- ### cookieStore
64
-
65
- > `readonly` **cookieStore**: `CookieStore`
66
-
67
- The **`cookieStore`** read-only property of the Window interface returns a reference to the CookieStore object for the current document context.
68
-
69
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/cookieStore)
70
-
71
- #### Inherited from
72
-
73
- `Window.cookieStore`
74
-
75
- ***
76
-
77
- ### crossOriginIsolated
78
-
79
- > `readonly` **crossOriginIsolated**: `boolean`
80
-
81
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated)
82
-
83
- #### Inherited from
84
-
85
- `Window.crossOriginIsolated`
86
-
87
- ***
88
-
89
- ### crypto
90
-
91
- > `readonly` **crypto**: `Crypto`
92
-
93
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto)
94
-
95
- #### Inherited from
96
-
97
- `Window.crypto`
98
-
99
- ***
100
-
101
- ### customElements
102
-
103
- > `readonly` **customElements**: `CustomElementRegistry`
104
-
105
- The **`customElements`** read-only property of the Window interface returns a reference to the CustomElementRegistry object, which can be used to register new custom elements and get information about previously registered custom elements.
106
-
107
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/customElements)
108
-
109
- #### Inherited from
110
-
111
- `Window.customElements`
112
-
113
- ***
114
-
115
- ### devicePixelRatio
116
-
117
- > `readonly` **devicePixelRatio**: `number`
118
-
119
- The **`devicePixelRatio`** of Window interface returns the ratio of the resolution in _physical pixels_ to the resolution in _CSS pixels_ for the current display device.
120
-
121
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/devicePixelRatio)
122
-
123
- #### Inherited from
124
-
125
- `Window.devicePixelRatio`
126
-
127
- ***
128
-
129
- ### document
130
-
131
- > `readonly` **document**: `Document`
132
-
133
- **`window.document`** returns a reference to the document contained in the window.
134
-
135
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/document)
136
-
137
- #### Inherited from
138
-
139
- `Window.document`
140
-
141
- ***
142
-
143
- ### ~~event~~
144
-
145
- > `readonly` **event**: `Event`
146
-
147
- The read-only Window property **`event`** returns the Event which is currently being handled by the site's code.
148
-
149
- #### Deprecated
150
-
151
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/event)
152
-
153
- #### Inherited from
154
-
155
- `Window.event`
156
-
157
- ***
158
-
159
- ### ~~external~~
160
-
161
- > `readonly` **external**: `External`
162
-
163
- The `external` property of the Window API returns an instance of the `External` interface, which was intended to contain functions related to adding external search providers to the browser.
164
-
165
- #### Deprecated
166
-
167
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/external)
168
-
169
- #### Inherited from
170
-
171
- `Window.external`
172
-
173
- ***
174
-
175
- ### frameElement
176
-
177
- > `readonly` **frameElement**: `Element`
178
-
179
- The **`Window.frameElement`** property returns the element (such as iframe or object) in which the window is embedded.
180
-
181
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/frameElement)
182
-
183
- #### Inherited from
184
-
185
- `Window.frameElement`
186
-
187
- ***
188
-
189
- ### frames
190
-
191
- > `readonly` **frames**: `Window`
192
-
193
- Returns the window itself, which is an array-like object, listing the direct sub-frames of the current window.
194
-
195
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/frames)
196
-
197
- #### Inherited from
198
-
199
- `Window.frames`
200
-
201
- ***
202
-
203
- ### history
204
-
205
- > `readonly` **history**: `History`
206
-
207
- The `Window.history` read-only property returns a reference to the History object, which provides an interface for manipulating the browser _session history_ (pages visited in the tab or frame that the current page is loaded in).
208
-
209
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/history)
210
-
211
- #### Inherited from
212
-
213
- `Window.history`
214
-
215
- ***
216
-
217
- ### indexedDB
218
-
219
- > `readonly` **indexedDB**: `IDBFactory`
220
-
221
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB)
222
-
223
- #### Inherited from
224
-
225
- `Window.indexedDB`
226
-
227
- ***
228
-
229
- ### innerHeight
230
-
231
- > `readonly` **innerHeight**: `number`
232
-
233
- The read-only **`innerHeight`** property of the including the height of the horizontal scroll bar, if present.
234
-
235
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/innerHeight)
236
-
237
- #### Inherited from
238
-
239
- `Window.innerHeight`
240
-
241
- ***
242
-
243
- ### innerWidth
244
-
245
- > `readonly` **innerWidth**: `number`
246
-
247
- The read-only Window property **`innerWidth`** returns the interior width of the window in pixels (that is, the width of the window's layout viewport).
248
-
249
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/innerWidth)
250
-
251
- #### Inherited from
252
-
253
- `Window.innerWidth`
254
-
255
- ***
256
-
257
- ### isSecureContext
258
-
259
- > `readonly` **isSecureContext**: `boolean`
260
-
261
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext)
262
-
263
- #### Inherited from
264
-
265
- `Window.isSecureContext`
266
-
267
- ***
268
-
269
- ### length
270
-
271
- > `readonly` **length**: `number`
272
-
273
- Returns the number of frames (either frame or A number.
274
-
275
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/length)
276
-
277
- #### Inherited from
278
-
279
- `Window.length`
280
-
281
- ***
282
-
283
- ### localStorage
284
-
285
- > `readonly` **localStorage**: `Storage`
286
-
287
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/localStorage)
288
-
289
- #### Inherited from
290
-
291
- `Window.localStorage`
292
-
293
- ***
294
-
295
- ### locationbar
296
-
297
- > `readonly` **locationbar**: `BarProp`
298
-
299
- Returns the `locationbar` object.
300
-
301
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/locationbar)
302
-
303
- #### Inherited from
304
-
305
- `Window.locationbar`
306
-
307
- ***
308
-
309
- ### menubar
310
-
311
- > `readonly` **menubar**: `BarProp`
312
-
313
- Returns the `menubar` object.
314
-
315
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/menubar)
316
-
317
- #### Inherited from
318
-
319
- `Window.menubar`
320
-
321
- ***
322
-
323
- ### miden?
324
-
325
- > `optional` **miden**: [`MidenWallet`](MidenWallet.md)
326
-
327
- ***
328
-
329
- ### midenWallet?
330
-
331
- > `optional` **midenWallet**: [`MidenWallet`](MidenWallet.md)
332
-
333
- ***
334
-
335
- ### name
336
-
337
- > **name**: `string`
338
-
339
- The `Window.name` property gets/sets the name of the window's browsing context.
340
-
341
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/name)
342
-
343
- #### Inherited from
344
-
345
- `Window.name`
346
-
347
- ***
348
-
349
- ### navigator
350
-
351
- > `readonly` **navigator**: `Navigator`
352
-
353
- The **`Window.navigator`** read-only property returns a reference to the Navigator object, which has methods and properties about the application running the script.
354
-
355
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/navigator)
356
-
357
- #### Inherited from
358
-
359
- `Window.navigator`
360
-
361
- ***
362
-
363
- ### onabort()
364
-
365
- > **onabort**: (`this`, `ev`) => `any`
366
-
367
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/abort_event)
368
-
369
- #### Parameters
370
-
371
- ##### this
372
-
373
- `GlobalEventHandlers`
374
-
375
- ##### ev
376
-
377
- `UIEvent`
378
-
379
- #### Returns
380
-
381
- `any`
382
-
383
- #### Inherited from
384
-
385
- `Window.onabort`
386
-
387
- ***
388
-
389
- ### onafterprint()
390
-
391
- > **onafterprint**: (`this`, `ev`) => `any`
392
-
393
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/afterprint_event)
394
-
395
- #### Parameters
396
-
397
- ##### this
398
-
399
- `WindowEventHandlers`
400
-
401
- ##### ev
402
-
403
- `Event`
404
-
405
- #### Returns
406
-
407
- `any`
408
-
409
- #### Inherited from
410
-
411
- `Window.onafterprint`
412
-
413
- ***
414
-
415
- ### onanimationcancel()
416
-
417
- > **onanimationcancel**: (`this`, `ev`) => `any`
418
-
419
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationcancel_event)
420
-
421
- #### Parameters
422
-
423
- ##### this
424
-
425
- `GlobalEventHandlers`
426
-
427
- ##### ev
428
-
429
- `AnimationEvent`
430
-
431
- #### Returns
432
-
433
- `any`
434
-
435
- #### Inherited from
436
-
437
- `Window.onanimationcancel`
438
-
439
- ***
440
-
441
- ### onanimationend()
442
-
443
- > **onanimationend**: (`this`, `ev`) => `any`
444
-
445
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationend_event)
446
-
447
- #### Parameters
448
-
449
- ##### this
450
-
451
- `GlobalEventHandlers`
452
-
453
- ##### ev
454
-
455
- `AnimationEvent`
456
-
457
- #### Returns
458
-
459
- `any`
460
-
461
- #### Inherited from
462
-
463
- `Window.onanimationend`
464
-
465
- ***
466
-
467
- ### onanimationiteration()
468
-
469
- > **onanimationiteration**: (`this`, `ev`) => `any`
470
-
471
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationiteration_event)
472
-
473
- #### Parameters
474
-
475
- ##### this
476
-
477
- `GlobalEventHandlers`
478
-
479
- ##### ev
480
-
481
- `AnimationEvent`
482
-
483
- #### Returns
484
-
485
- `any`
486
-
487
- #### Inherited from
488
-
489
- `Window.onanimationiteration`
490
-
491
- ***
492
-
493
- ### onanimationstart()
494
-
495
- > **onanimationstart**: (`this`, `ev`) => `any`
496
-
497
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationstart_event)
498
-
499
- #### Parameters
500
-
501
- ##### this
502
-
503
- `GlobalEventHandlers`
504
-
505
- ##### ev
506
-
507
- `AnimationEvent`
508
-
509
- #### Returns
510
-
511
- `any`
512
-
513
- #### Inherited from
514
-
515
- `Window.onanimationstart`
516
-
517
- ***
518
-
519
- ### onauxclick()
520
-
521
- > **onauxclick**: (`this`, `ev`) => `any`
522
-
523
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/auxclick_event)
524
-
525
- #### Parameters
526
-
527
- ##### this
528
-
529
- `GlobalEventHandlers`
530
-
531
- ##### ev
532
-
533
- `PointerEvent`
534
-
535
- #### Returns
536
-
537
- `any`
538
-
539
- #### Inherited from
540
-
541
- `Window.onauxclick`
542
-
543
- ***
544
-
545
- ### onbeforeinput()
546
-
547
- > **onbeforeinput**: (`this`, `ev`) => `any`
548
-
549
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event)
550
-
551
- #### Parameters
552
-
553
- ##### this
554
-
555
- `GlobalEventHandlers`
556
-
557
- ##### ev
558
-
559
- `InputEvent`
560
-
561
- #### Returns
562
-
563
- `any`
564
-
565
- #### Inherited from
566
-
567
- `Window.onbeforeinput`
568
-
569
- ***
570
-
571
- ### onbeforematch()
572
-
573
- > **onbeforematch**: (`this`, `ev`) => `any`
574
-
575
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforematch_event)
576
-
577
- #### Parameters
578
-
579
- ##### this
580
-
581
- `GlobalEventHandlers`
582
-
583
- ##### ev
584
-
585
- `Event`
586
-
587
- #### Returns
588
-
589
- `any`
590
-
591
- #### Inherited from
592
-
593
- `Window.onbeforematch`
594
-
595
- ***
596
-
597
- ### onbeforeprint()
598
-
599
- > **onbeforeprint**: (`this`, `ev`) => `any`
600
-
601
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/beforeprint_event)
602
-
603
- #### Parameters
604
-
605
- ##### this
606
-
607
- `WindowEventHandlers`
608
-
609
- ##### ev
610
-
611
- `Event`
612
-
613
- #### Returns
614
-
615
- `any`
616
-
617
- #### Inherited from
618
-
619
- `Window.onbeforeprint`
620
-
621
- ***
622
-
623
- ### onbeforetoggle()
624
-
625
- > **onbeforetoggle**: (`this`, `ev`) => `any`
626
-
627
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event)
628
-
629
- #### Parameters
630
-
631
- ##### this
632
-
633
- `GlobalEventHandlers`
634
-
635
- ##### ev
636
-
637
- `ToggleEvent`
638
-
639
- #### Returns
640
-
641
- `any`
642
-
643
- #### Inherited from
644
-
645
- `Window.onbeforetoggle`
646
-
647
- ***
648
-
649
- ### onbeforeunload()
650
-
651
- > **onbeforeunload**: (`this`, `ev`) => `any`
652
-
653
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/beforeunload_event)
654
-
655
- #### Parameters
656
-
657
- ##### this
658
-
659
- `WindowEventHandlers`
660
-
661
- ##### ev
662
-
663
- `BeforeUnloadEvent`
664
-
665
- #### Returns
666
-
667
- `any`
668
-
669
- #### Inherited from
670
-
671
- `Window.onbeforeunload`
672
-
673
- ***
674
-
675
- ### onblur()
676
-
677
- > **onblur**: (`this`, `ev`) => `any`
678
-
679
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/blur_event)
680
-
681
- #### Parameters
682
-
683
- ##### this
684
-
685
- `GlobalEventHandlers`
686
-
687
- ##### ev
688
-
689
- `FocusEvent`
690
-
691
- #### Returns
692
-
693
- `any`
694
-
695
- #### Inherited from
696
-
697
- `Window.onblur`
698
-
699
- ***
700
-
701
- ### oncancel()
702
-
703
- > **oncancel**: (`this`, `ev`) => `any`
704
-
705
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event)
706
-
707
- #### Parameters
708
-
709
- ##### this
710
-
711
- `GlobalEventHandlers`
712
-
713
- ##### ev
714
-
715
- `Event`
716
-
717
- #### Returns
718
-
719
- `any`
720
-
721
- #### Inherited from
722
-
723
- `Window.oncancel`
724
-
725
- ***
726
-
727
- ### oncanplay()
728
-
729
- > **oncanplay**: (`this`, `ev`) => `any`
730
-
731
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/canplay_event)
732
-
733
- #### Parameters
734
-
735
- ##### this
736
-
737
- `GlobalEventHandlers`
738
-
739
- ##### ev
740
-
741
- `Event`
742
-
743
- #### Returns
744
-
745
- `any`
746
-
747
- #### Inherited from
748
-
749
- `Window.oncanplay`
750
-
751
- ***
752
-
753
- ### oncanplaythrough()
754
-
755
- > **oncanplaythrough**: (`this`, `ev`) => `any`
756
-
757
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/canplaythrough_event)
758
-
759
- #### Parameters
760
-
761
- ##### this
762
-
763
- `GlobalEventHandlers`
764
-
765
- ##### ev
766
-
767
- `Event`
768
-
769
- #### Returns
770
-
771
- `any`
772
-
773
- #### Inherited from
774
-
775
- `Window.oncanplaythrough`
776
-
777
- ***
778
-
779
- ### onchange()
780
-
781
- > **onchange**: (`this`, `ev`) => `any`
782
-
783
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/change_event)
784
-
785
- #### Parameters
786
-
787
- ##### this
788
-
789
- `GlobalEventHandlers`
790
-
791
- ##### ev
792
-
793
- `Event`
794
-
795
- #### Returns
796
-
797
- `any`
798
-
799
- #### Inherited from
800
-
801
- `Window.onchange`
802
-
803
- ***
804
-
805
- ### onclick()
806
-
807
- > **onclick**: (`this`, `ev`) => `any`
808
-
809
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/click_event)
810
-
811
- #### Parameters
812
-
813
- ##### this
814
-
815
- `GlobalEventHandlers`
816
-
817
- ##### ev
818
-
819
- `PointerEvent`
820
-
821
- #### Returns
822
-
823
- `any`
824
-
825
- #### Inherited from
826
-
827
- `Window.onclick`
828
-
829
- ***
830
-
831
- ### onclose()
832
-
833
- > **onclose**: (`this`, `ev`) => `any`
834
-
835
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event)
836
-
837
- #### Parameters
838
-
839
- ##### this
840
-
841
- `GlobalEventHandlers`
842
-
843
- ##### ev
844
-
845
- `Event`
846
-
847
- #### Returns
848
-
849
- `any`
850
-
851
- #### Inherited from
852
-
853
- `Window.onclose`
854
-
855
- ***
856
-
857
- ### oncontextlost()
858
-
859
- > **oncontextlost**: (`this`, `ev`) => `any`
860
-
861
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event)
862
-
863
- #### Parameters
864
-
865
- ##### this
866
-
867
- `GlobalEventHandlers`
868
-
869
- ##### ev
870
-
871
- `Event`
872
-
873
- #### Returns
874
-
875
- `any`
876
-
877
- #### Inherited from
878
-
879
- `Window.oncontextlost`
880
-
881
- ***
882
-
883
- ### oncontextmenu()
884
-
885
- > **oncontextmenu**: (`this`, `ev`) => `any`
886
-
887
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event)
888
-
889
- #### Parameters
890
-
891
- ##### this
892
-
893
- `GlobalEventHandlers`
894
-
895
- ##### ev
896
-
897
- `PointerEvent`
898
-
899
- #### Returns
900
-
901
- `any`
902
-
903
- #### Inherited from
904
-
905
- `Window.oncontextmenu`
906
-
907
- ***
908
-
909
- ### oncontextrestored()
910
-
911
- > **oncontextrestored**: (`this`, `ev`) => `any`
912
-
913
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event)
914
-
915
- #### Parameters
916
-
917
- ##### this
918
-
919
- `GlobalEventHandlers`
920
-
921
- ##### ev
922
-
923
- `Event`
924
-
925
- #### Returns
926
-
927
- `any`
928
-
929
- #### Inherited from
930
-
931
- `Window.oncontextrestored`
932
-
933
- ***
934
-
935
- ### oncopy()
936
-
937
- > **oncopy**: (`this`, `ev`) => `any`
938
-
939
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event)
940
-
941
- #### Parameters
942
-
943
- ##### this
944
-
945
- `GlobalEventHandlers`
946
-
947
- ##### ev
948
-
949
- `ClipboardEvent`
950
-
951
- #### Returns
952
-
953
- `any`
954
-
955
- #### Inherited from
956
-
957
- `Window.oncopy`
958
-
959
- ***
960
-
961
- ### oncuechange()
962
-
963
- > **oncuechange**: (`this`, `ev`) => `any`
964
-
965
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/cuechange_event)
966
-
967
- #### Parameters
968
-
969
- ##### this
970
-
971
- `GlobalEventHandlers`
972
-
973
- ##### ev
974
-
975
- `Event`
976
-
977
- #### Returns
978
-
979
- `any`
980
-
981
- #### Inherited from
982
-
983
- `Window.oncuechange`
984
-
985
- ***
986
-
987
- ### oncut()
988
-
989
- > **oncut**: (`this`, `ev`) => `any`
990
-
991
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/cut_event)
992
-
993
- #### Parameters
994
-
995
- ##### this
996
-
997
- `GlobalEventHandlers`
998
-
999
- ##### ev
1000
-
1001
- `ClipboardEvent`
1002
-
1003
- #### Returns
1004
-
1005
- `any`
1006
-
1007
- #### Inherited from
1008
-
1009
- `Window.oncut`
1010
-
1011
- ***
1012
-
1013
- ### ondblclick()
1014
-
1015
- > **ondblclick**: (`this`, `ev`) => `any`
1016
-
1017
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/dblclick_event)
1018
-
1019
- #### Parameters
1020
-
1021
- ##### this
1022
-
1023
- `GlobalEventHandlers`
1024
-
1025
- ##### ev
1026
-
1027
- `MouseEvent`
1028
-
1029
- #### Returns
1030
-
1031
- `any`
1032
-
1033
- #### Inherited from
1034
-
1035
- `Window.ondblclick`
1036
-
1037
- ***
1038
-
1039
- ### ondevicemotion()
1040
-
1041
- > **ondevicemotion**: (`this`, `ev`) => `any`
1042
-
1043
- Available only in secure contexts.
1044
-
1045
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/devicemotion_event)
1046
-
1047
- #### Parameters
1048
-
1049
- ##### this
1050
-
1051
- `Window`
1052
-
1053
- ##### ev
1054
-
1055
- `DeviceMotionEvent`
1056
-
1057
- #### Returns
1058
-
1059
- `any`
1060
-
1061
- #### Inherited from
1062
-
1063
- `Window.ondevicemotion`
1064
-
1065
- ***
1066
-
1067
- ### ondeviceorientation()
1068
-
1069
- > **ondeviceorientation**: (`this`, `ev`) => `any`
1070
-
1071
- Available only in secure contexts.
1072
-
1073
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientation_event)
1074
-
1075
- #### Parameters
1076
-
1077
- ##### this
1078
-
1079
- `Window`
1080
-
1081
- ##### ev
1082
-
1083
- `DeviceOrientationEvent`
1084
-
1085
- #### Returns
1086
-
1087
- `any`
1088
-
1089
- #### Inherited from
1090
-
1091
- `Window.ondeviceorientation`
1092
-
1093
- ***
1094
-
1095
- ### ondeviceorientationabsolute()
1096
-
1097
- > **ondeviceorientationabsolute**: (`this`, `ev`) => `any`
1098
-
1099
- Available only in secure contexts.
1100
-
1101
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientationabsolute_event)
1102
-
1103
- #### Parameters
1104
-
1105
- ##### this
1106
-
1107
- `Window`
1108
-
1109
- ##### ev
1110
-
1111
- `DeviceOrientationEvent`
1112
-
1113
- #### Returns
1114
-
1115
- `any`
1116
-
1117
- #### Inherited from
1118
-
1119
- `Window.ondeviceorientationabsolute`
1120
-
1121
- ***
1122
-
1123
- ### ondrag()
1124
-
1125
- > **ondrag**: (`this`, `ev`) => `any`
1126
-
1127
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/drag_event)
1128
-
1129
- #### Parameters
1130
-
1131
- ##### this
1132
-
1133
- `GlobalEventHandlers`
1134
-
1135
- ##### ev
1136
-
1137
- `DragEvent`
1138
-
1139
- #### Returns
1140
-
1141
- `any`
1142
-
1143
- #### Inherited from
1144
-
1145
- `Window.ondrag`
1146
-
1147
- ***
1148
-
1149
- ### ondragend()
1150
-
1151
- > **ondragend**: (`this`, `ev`) => `any`
1152
-
1153
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragend_event)
1154
-
1155
- #### Parameters
1156
-
1157
- ##### this
1158
-
1159
- `GlobalEventHandlers`
1160
-
1161
- ##### ev
1162
-
1163
- `DragEvent`
1164
-
1165
- #### Returns
1166
-
1167
- `any`
1168
-
1169
- #### Inherited from
1170
-
1171
- `Window.ondragend`
1172
-
1173
- ***
1174
-
1175
- ### ondragenter()
1176
-
1177
- > **ondragenter**: (`this`, `ev`) => `any`
1178
-
1179
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragenter_event)
1180
-
1181
- #### Parameters
1182
-
1183
- ##### this
1184
-
1185
- `GlobalEventHandlers`
1186
-
1187
- ##### ev
1188
-
1189
- `DragEvent`
1190
-
1191
- #### Returns
1192
-
1193
- `any`
1194
-
1195
- #### Inherited from
1196
-
1197
- `Window.ondragenter`
1198
-
1199
- ***
1200
-
1201
- ### ondragleave()
1202
-
1203
- > **ondragleave**: (`this`, `ev`) => `any`
1204
-
1205
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragleave_event)
1206
-
1207
- #### Parameters
1208
-
1209
- ##### this
1210
-
1211
- `GlobalEventHandlers`
1212
-
1213
- ##### ev
1214
-
1215
- `DragEvent`
1216
-
1217
- #### Returns
1218
-
1219
- `any`
1220
-
1221
- #### Inherited from
1222
-
1223
- `Window.ondragleave`
1224
-
1225
- ***
1226
-
1227
- ### ondragover()
1228
-
1229
- > **ondragover**: (`this`, `ev`) => `any`
1230
-
1231
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragover_event)
1232
-
1233
- #### Parameters
1234
-
1235
- ##### this
1236
-
1237
- `GlobalEventHandlers`
1238
-
1239
- ##### ev
1240
-
1241
- `DragEvent`
1242
-
1243
- #### Returns
1244
-
1245
- `any`
1246
-
1247
- #### Inherited from
1248
-
1249
- `Window.ondragover`
1250
-
1251
- ***
1252
-
1253
- ### ondragstart()
1254
-
1255
- > **ondragstart**: (`this`, `ev`) => `any`
1256
-
1257
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragstart_event)
1258
-
1259
- #### Parameters
1260
-
1261
- ##### this
1262
-
1263
- `GlobalEventHandlers`
1264
-
1265
- ##### ev
1266
-
1267
- `DragEvent`
1268
-
1269
- #### Returns
1270
-
1271
- `any`
1272
-
1273
- #### Inherited from
1274
-
1275
- `Window.ondragstart`
1276
-
1277
- ***
1278
-
1279
- ### ondrop()
1280
-
1281
- > **ondrop**: (`this`, `ev`) => `any`
1282
-
1283
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/drop_event)
1284
-
1285
- #### Parameters
1286
-
1287
- ##### this
1288
-
1289
- `GlobalEventHandlers`
1290
-
1291
- ##### ev
1292
-
1293
- `DragEvent`
1294
-
1295
- #### Returns
1296
-
1297
- `any`
1298
-
1299
- #### Inherited from
1300
-
1301
- `Window.ondrop`
1302
-
1303
- ***
1304
-
1305
- ### ondurationchange()
1306
-
1307
- > **ondurationchange**: (`this`, `ev`) => `any`
1308
-
1309
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/durationchange_event)
1310
-
1311
- #### Parameters
1312
-
1313
- ##### this
1314
-
1315
- `GlobalEventHandlers`
1316
-
1317
- ##### ev
1318
-
1319
- `Event`
1320
-
1321
- #### Returns
1322
-
1323
- `any`
1324
-
1325
- #### Inherited from
1326
-
1327
- `Window.ondurationchange`
1328
-
1329
- ***
1330
-
1331
- ### onemptied()
1332
-
1333
- > **onemptied**: (`this`, `ev`) => `any`
1334
-
1335
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/emptied_event)
1336
-
1337
- #### Parameters
1338
-
1339
- ##### this
1340
-
1341
- `GlobalEventHandlers`
1342
-
1343
- ##### ev
1344
-
1345
- `Event`
1346
-
1347
- #### Returns
1348
-
1349
- `any`
1350
-
1351
- #### Inherited from
1352
-
1353
- `Window.onemptied`
1354
-
1355
- ***
1356
-
1357
- ### onended()
1358
-
1359
- > **onended**: (`this`, `ev`) => `any`
1360
-
1361
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ended_event)
1362
-
1363
- #### Parameters
1364
-
1365
- ##### this
1366
-
1367
- `GlobalEventHandlers`
1368
-
1369
- ##### ev
1370
-
1371
- `Event`
1372
-
1373
- #### Returns
1374
-
1375
- `any`
1376
-
1377
- #### Inherited from
1378
-
1379
- `Window.onended`
1380
-
1381
- ***
1382
-
1383
- ### onerror
1384
-
1385
- > **onerror**: `OnErrorEventHandlerNonNull`
1386
-
1387
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/error_event)
1388
-
1389
- #### Inherited from
1390
-
1391
- `Window.onerror`
1392
-
1393
- ***
1394
-
1395
- ### onfocus()
1396
-
1397
- > **onfocus**: (`this`, `ev`) => `any`
1398
-
1399
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/focus_event)
1400
-
1401
- #### Parameters
1402
-
1403
- ##### this
1404
-
1405
- `GlobalEventHandlers`
1406
-
1407
- ##### ev
1408
-
1409
- `FocusEvent`
1410
-
1411
- #### Returns
1412
-
1413
- `any`
1414
-
1415
- #### Inherited from
1416
-
1417
- `Window.onfocus`
1418
-
1419
- ***
1420
-
1421
- ### onformdata()
1422
-
1423
- > **onformdata**: (`this`, `ev`) => `any`
1424
-
1425
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/formdata_event)
1426
-
1427
- #### Parameters
1428
-
1429
- ##### this
1430
-
1431
- `GlobalEventHandlers`
1432
-
1433
- ##### ev
1434
-
1435
- `FormDataEvent`
1436
-
1437
- #### Returns
1438
-
1439
- `any`
1440
-
1441
- #### Inherited from
1442
-
1443
- `Window.onformdata`
1444
-
1445
- ***
1446
-
1447
- ### ongamepadconnected()
1448
-
1449
- > **ongamepadconnected**: (`this`, `ev`) => `any`
1450
-
1451
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/gamepadconnected_event)
1452
-
1453
- #### Parameters
1454
-
1455
- ##### this
1456
-
1457
- `WindowEventHandlers`
1458
-
1459
- ##### ev
1460
-
1461
- `GamepadEvent`
1462
-
1463
- #### Returns
1464
-
1465
- `any`
1466
-
1467
- #### Inherited from
1468
-
1469
- `Window.ongamepadconnected`
1470
-
1471
- ***
1472
-
1473
- ### ongamepaddisconnected()
1474
-
1475
- > **ongamepaddisconnected**: (`this`, `ev`) => `any`
1476
-
1477
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/gamepaddisconnected_event)
1478
-
1479
- #### Parameters
1480
-
1481
- ##### this
1482
-
1483
- `WindowEventHandlers`
1484
-
1485
- ##### ev
1486
-
1487
- `GamepadEvent`
1488
-
1489
- #### Returns
1490
-
1491
- `any`
1492
-
1493
- #### Inherited from
1494
-
1495
- `Window.ongamepaddisconnected`
1496
-
1497
- ***
1498
-
1499
- ### ongotpointercapture()
1500
-
1501
- > **ongotpointercapture**: (`this`, `ev`) => `any`
1502
-
1503
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/gotpointercapture_event)
1504
-
1505
- #### Parameters
1506
-
1507
- ##### this
1508
-
1509
- `GlobalEventHandlers`
1510
-
1511
- ##### ev
1512
-
1513
- `PointerEvent`
1514
-
1515
- #### Returns
1516
-
1517
- `any`
1518
-
1519
- #### Inherited from
1520
-
1521
- `Window.ongotpointercapture`
1522
-
1523
- ***
1524
-
1525
- ### onhashchange()
1526
-
1527
- > **onhashchange**: (`this`, `ev`) => `any`
1528
-
1529
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/hashchange_event)
1530
-
1531
- #### Parameters
1532
-
1533
- ##### this
1534
-
1535
- `WindowEventHandlers`
1536
-
1537
- ##### ev
1538
-
1539
- `HashChangeEvent`
1540
-
1541
- #### Returns
1542
-
1543
- `any`
1544
-
1545
- #### Inherited from
1546
-
1547
- `Window.onhashchange`
1548
-
1549
- ***
1550
-
1551
- ### oninput()
1552
-
1553
- > **oninput**: (`this`, `ev`) => `any`
1554
-
1555
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/input_event)
1556
-
1557
- #### Parameters
1558
-
1559
- ##### this
1560
-
1561
- `GlobalEventHandlers`
1562
-
1563
- ##### ev
1564
-
1565
- `Event`
1566
-
1567
- #### Returns
1568
-
1569
- `any`
1570
-
1571
- #### Inherited from
1572
-
1573
- `Window.oninput`
1574
-
1575
- ***
1576
-
1577
- ### oninvalid()
1578
-
1579
- > **oninvalid**: (`this`, `ev`) => `any`
1580
-
1581
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/invalid_event)
1582
-
1583
- #### Parameters
1584
-
1585
- ##### this
1586
-
1587
- `GlobalEventHandlers`
1588
-
1589
- ##### ev
1590
-
1591
- `Event`
1592
-
1593
- #### Returns
1594
-
1595
- `any`
1596
-
1597
- #### Inherited from
1598
-
1599
- `Window.oninvalid`
1600
-
1601
- ***
1602
-
1603
- ### onkeydown()
1604
-
1605
- > **onkeydown**: (`this`, `ev`) => `any`
1606
-
1607
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/keydown_event)
1608
-
1609
- #### Parameters
1610
-
1611
- ##### this
1612
-
1613
- `GlobalEventHandlers`
1614
-
1615
- ##### ev
1616
-
1617
- `KeyboardEvent`
1618
-
1619
- #### Returns
1620
-
1621
- `any`
1622
-
1623
- #### Inherited from
1624
-
1625
- `Window.onkeydown`
1626
-
1627
- ***
1628
-
1629
- ### ~~onkeypress()~~
1630
-
1631
- > **onkeypress**: (`this`, `ev`) => `any`
1632
-
1633
- #### Parameters
1634
-
1635
- ##### this
1636
-
1637
- `GlobalEventHandlers`
1638
-
1639
- ##### ev
1640
-
1641
- `KeyboardEvent`
1642
-
1643
- #### Returns
1644
-
1645
- `any`
1646
-
1647
- #### Deprecated
1648
-
1649
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/keypress_event)
1650
-
1651
- #### Inherited from
1652
-
1653
- `Window.onkeypress`
1654
-
1655
- ***
1656
-
1657
- ### onkeyup()
1658
-
1659
- > **onkeyup**: (`this`, `ev`) => `any`
1660
-
1661
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/keyup_event)
1662
-
1663
- #### Parameters
1664
-
1665
- ##### this
1666
-
1667
- `GlobalEventHandlers`
1668
-
1669
- ##### ev
1670
-
1671
- `KeyboardEvent`
1672
-
1673
- #### Returns
1674
-
1675
- `any`
1676
-
1677
- #### Inherited from
1678
-
1679
- `Window.onkeyup`
1680
-
1681
- ***
1682
-
1683
- ### onlanguagechange()
1684
-
1685
- > **onlanguagechange**: (`this`, `ev`) => `any`
1686
-
1687
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/languagechange_event)
1688
-
1689
- #### Parameters
1690
-
1691
- ##### this
1692
-
1693
- `WindowEventHandlers`
1694
-
1695
- ##### ev
1696
-
1697
- `Event`
1698
-
1699
- #### Returns
1700
-
1701
- `any`
1702
-
1703
- #### Inherited from
1704
-
1705
- `Window.onlanguagechange`
1706
-
1707
- ***
1708
-
1709
- ### onload()
1710
-
1711
- > **onload**: (`this`, `ev`) => `any`
1712
-
1713
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/load_event)
1714
-
1715
- #### Parameters
1716
-
1717
- ##### this
1718
-
1719
- `GlobalEventHandlers`
1720
-
1721
- ##### ev
1722
-
1723
- `Event`
1724
-
1725
- #### Returns
1726
-
1727
- `any`
1728
-
1729
- #### Inherited from
1730
-
1731
- `Window.onload`
1732
-
1733
- ***
1734
-
1735
- ### onloadeddata()
1736
-
1737
- > **onloadeddata**: (`this`, `ev`) => `any`
1738
-
1739
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadeddata_event)
1740
-
1741
- #### Parameters
1742
-
1743
- ##### this
1744
-
1745
- `GlobalEventHandlers`
1746
-
1747
- ##### ev
1748
-
1749
- `Event`
1750
-
1751
- #### Returns
1752
-
1753
- `any`
1754
-
1755
- #### Inherited from
1756
-
1757
- `Window.onloadeddata`
1758
-
1759
- ***
1760
-
1761
- ### onloadedmetadata()
1762
-
1763
- > **onloadedmetadata**: (`this`, `ev`) => `any`
1764
-
1765
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadedmetadata_event)
1766
-
1767
- #### Parameters
1768
-
1769
- ##### this
1770
-
1771
- `GlobalEventHandlers`
1772
-
1773
- ##### ev
1774
-
1775
- `Event`
1776
-
1777
- #### Returns
1778
-
1779
- `any`
1780
-
1781
- #### Inherited from
1782
-
1783
- `Window.onloadedmetadata`
1784
-
1785
- ***
1786
-
1787
- ### onloadstart()
1788
-
1789
- > **onloadstart**: (`this`, `ev`) => `any`
1790
-
1791
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadstart_event)
1792
-
1793
- #### Parameters
1794
-
1795
- ##### this
1796
-
1797
- `GlobalEventHandlers`
1798
-
1799
- ##### ev
1800
-
1801
- `Event`
1802
-
1803
- #### Returns
1804
-
1805
- `any`
1806
-
1807
- #### Inherited from
1808
-
1809
- `Window.onloadstart`
1810
-
1811
- ***
1812
-
1813
- ### onlostpointercapture()
1814
-
1815
- > **onlostpointercapture**: (`this`, `ev`) => `any`
1816
-
1817
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event)
1818
-
1819
- #### Parameters
1820
-
1821
- ##### this
1822
-
1823
- `GlobalEventHandlers`
1824
-
1825
- ##### ev
1826
-
1827
- `PointerEvent`
1828
-
1829
- #### Returns
1830
-
1831
- `any`
1832
-
1833
- #### Inherited from
1834
-
1835
- `Window.onlostpointercapture`
1836
-
1837
- ***
1838
-
1839
- ### onmessage()
1840
-
1841
- > **onmessage**: (`this`, `ev`) => `any`
1842
-
1843
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/message_event)
1844
-
1845
- #### Parameters
1846
-
1847
- ##### this
1848
-
1849
- `WindowEventHandlers`
1850
-
1851
- ##### ev
1852
-
1853
- `MessageEvent`
1854
-
1855
- #### Returns
1856
-
1857
- `any`
1858
-
1859
- #### Inherited from
1860
-
1861
- `Window.onmessage`
1862
-
1863
- ***
1864
-
1865
- ### onmessageerror()
1866
-
1867
- > **onmessageerror**: (`this`, `ev`) => `any`
1868
-
1869
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/messageerror_event)
1870
-
1871
- #### Parameters
1872
-
1873
- ##### this
1874
-
1875
- `WindowEventHandlers`
1876
-
1877
- ##### ev
1878
-
1879
- `MessageEvent`
1880
-
1881
- #### Returns
1882
-
1883
- `any`
1884
-
1885
- #### Inherited from
1886
-
1887
- `Window.onmessageerror`
1888
-
1889
- ***
1890
-
1891
- ### onmousedown()
1892
-
1893
- > **onmousedown**: (`this`, `ev`) => `any`
1894
-
1895
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mousedown_event)
1896
-
1897
- #### Parameters
1898
-
1899
- ##### this
1900
-
1901
- `GlobalEventHandlers`
1902
-
1903
- ##### ev
1904
-
1905
- `MouseEvent`
1906
-
1907
- #### Returns
1908
-
1909
- `any`
1910
-
1911
- #### Inherited from
1912
-
1913
- `Window.onmousedown`
1914
-
1915
- ***
1916
-
1917
- ### onmouseenter()
1918
-
1919
- > **onmouseenter**: (`this`, `ev`) => `any`
1920
-
1921
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseenter_event)
1922
-
1923
- #### Parameters
1924
-
1925
- ##### this
1926
-
1927
- `GlobalEventHandlers`
1928
-
1929
- ##### ev
1930
-
1931
- `MouseEvent`
1932
-
1933
- #### Returns
1934
-
1935
- `any`
1936
-
1937
- #### Inherited from
1938
-
1939
- `Window.onmouseenter`
1940
-
1941
- ***
1942
-
1943
- ### onmouseleave()
1944
-
1945
- > **onmouseleave**: (`this`, `ev`) => `any`
1946
-
1947
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseleave_event)
1948
-
1949
- #### Parameters
1950
-
1951
- ##### this
1952
-
1953
- `GlobalEventHandlers`
1954
-
1955
- ##### ev
1956
-
1957
- `MouseEvent`
1958
-
1959
- #### Returns
1960
-
1961
- `any`
1962
-
1963
- #### Inherited from
1964
-
1965
- `Window.onmouseleave`
1966
-
1967
- ***
1968
-
1969
- ### onmousemove()
1970
-
1971
- > **onmousemove**: (`this`, `ev`) => `any`
1972
-
1973
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mousemove_event)
1974
-
1975
- #### Parameters
1976
-
1977
- ##### this
1978
-
1979
- `GlobalEventHandlers`
1980
-
1981
- ##### ev
1982
-
1983
- `MouseEvent`
1984
-
1985
- #### Returns
1986
-
1987
- `any`
1988
-
1989
- #### Inherited from
1990
-
1991
- `Window.onmousemove`
1992
-
1993
- ***
1994
-
1995
- ### onmouseout()
1996
-
1997
- > **onmouseout**: (`this`, `ev`) => `any`
1998
-
1999
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseout_event)
2000
-
2001
- #### Parameters
2002
-
2003
- ##### this
2004
-
2005
- `GlobalEventHandlers`
2006
-
2007
- ##### ev
2008
-
2009
- `MouseEvent`
2010
-
2011
- #### Returns
2012
-
2013
- `any`
2014
-
2015
- #### Inherited from
2016
-
2017
- `Window.onmouseout`
2018
-
2019
- ***
2020
-
2021
- ### onmouseover()
2022
-
2023
- > **onmouseover**: (`this`, `ev`) => `any`
2024
-
2025
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseover_event)
2026
-
2027
- #### Parameters
2028
-
2029
- ##### this
2030
-
2031
- `GlobalEventHandlers`
2032
-
2033
- ##### ev
2034
-
2035
- `MouseEvent`
2036
-
2037
- #### Returns
2038
-
2039
- `any`
2040
-
2041
- #### Inherited from
2042
-
2043
- `Window.onmouseover`
2044
-
2045
- ***
2046
-
2047
- ### onmouseup()
2048
-
2049
- > **onmouseup**: (`this`, `ev`) => `any`
2050
-
2051
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseup_event)
2052
-
2053
- #### Parameters
2054
-
2055
- ##### this
2056
-
2057
- `GlobalEventHandlers`
2058
-
2059
- ##### ev
2060
-
2061
- `MouseEvent`
2062
-
2063
- #### Returns
2064
-
2065
- `any`
2066
-
2067
- #### Inherited from
2068
-
2069
- `Window.onmouseup`
2070
-
2071
- ***
2072
-
2073
- ### onoffline()
2074
-
2075
- > **onoffline**: (`this`, `ev`) => `any`
2076
-
2077
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/offline_event)
2078
-
2079
- #### Parameters
2080
-
2081
- ##### this
2082
-
2083
- `WindowEventHandlers`
2084
-
2085
- ##### ev
2086
-
2087
- `Event`
2088
-
2089
- #### Returns
2090
-
2091
- `any`
2092
-
2093
- #### Inherited from
2094
-
2095
- `Window.onoffline`
2096
-
2097
- ***
2098
-
2099
- ### ononline()
2100
-
2101
- > **ononline**: (`this`, `ev`) => `any`
2102
-
2103
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/online_event)
2104
-
2105
- #### Parameters
2106
-
2107
- ##### this
2108
-
2109
- `WindowEventHandlers`
2110
-
2111
- ##### ev
2112
-
2113
- `Event`
2114
-
2115
- #### Returns
2116
-
2117
- `any`
2118
-
2119
- #### Inherited from
2120
-
2121
- `Window.ononline`
2122
-
2123
- ***
2124
-
2125
- ### ~~onorientationchange()~~
2126
-
2127
- > **onorientationchange**: (`this`, `ev`) => `any`
2128
-
2129
- #### Parameters
2130
-
2131
- ##### this
2132
-
2133
- `Window`
2134
-
2135
- ##### ev
2136
-
2137
- `Event`
2138
-
2139
- #### Returns
2140
-
2141
- `any`
2142
-
2143
- #### Deprecated
2144
-
2145
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/orientationchange_event)
2146
-
2147
- #### Inherited from
2148
-
2149
- `Window.onorientationchange`
2150
-
2151
- ***
2152
-
2153
- ### onpagehide()
2154
-
2155
- > **onpagehide**: (`this`, `ev`) => `any`
2156
-
2157
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pagehide_event)
2158
-
2159
- #### Parameters
2160
-
2161
- ##### this
2162
-
2163
- `WindowEventHandlers`
2164
-
2165
- ##### ev
2166
-
2167
- `PageTransitionEvent`
2168
-
2169
- #### Returns
2170
-
2171
- `any`
2172
-
2173
- #### Inherited from
2174
-
2175
- `Window.onpagehide`
2176
-
2177
- ***
2178
-
2179
- ### onpagereveal()
2180
-
2181
- > **onpagereveal**: (`this`, `ev`) => `any`
2182
-
2183
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pagereveal_event)
2184
-
2185
- #### Parameters
2186
-
2187
- ##### this
2188
-
2189
- `WindowEventHandlers`
2190
-
2191
- ##### ev
2192
-
2193
- `PageRevealEvent`
2194
-
2195
- #### Returns
2196
-
2197
- `any`
2198
-
2199
- #### Inherited from
2200
-
2201
- `Window.onpagereveal`
2202
-
2203
- ***
2204
-
2205
- ### onpageshow()
2206
-
2207
- > **onpageshow**: (`this`, `ev`) => `any`
2208
-
2209
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pageshow_event)
2210
-
2211
- #### Parameters
2212
-
2213
- ##### this
2214
-
2215
- `WindowEventHandlers`
2216
-
2217
- ##### ev
2218
-
2219
- `PageTransitionEvent`
2220
-
2221
- #### Returns
2222
-
2223
- `any`
2224
-
2225
- #### Inherited from
2226
-
2227
- `Window.onpageshow`
2228
-
2229
- ***
2230
-
2231
- ### onpageswap()
2232
-
2233
- > **onpageswap**: (`this`, `ev`) => `any`
2234
-
2235
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pageswap_event)
2236
-
2237
- #### Parameters
2238
-
2239
- ##### this
2240
-
2241
- `WindowEventHandlers`
2242
-
2243
- ##### ev
2244
-
2245
- `PageSwapEvent`
2246
-
2247
- #### Returns
2248
-
2249
- `any`
2250
-
2251
- #### Inherited from
2252
-
2253
- `Window.onpageswap`
2254
-
2255
- ***
2256
-
2257
- ### onpaste()
2258
-
2259
- > **onpaste**: (`this`, `ev`) => `any`
2260
-
2261
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/paste_event)
2262
-
2263
- #### Parameters
2264
-
2265
- ##### this
2266
-
2267
- `GlobalEventHandlers`
2268
-
2269
- ##### ev
2270
-
2271
- `ClipboardEvent`
2272
-
2273
- #### Returns
2274
-
2275
- `any`
2276
-
2277
- #### Inherited from
2278
-
2279
- `Window.onpaste`
2280
-
2281
- ***
2282
-
2283
- ### onpause()
2284
-
2285
- > **onpause**: (`this`, `ev`) => `any`
2286
-
2287
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/pause_event)
2288
-
2289
- #### Parameters
2290
-
2291
- ##### this
2292
-
2293
- `GlobalEventHandlers`
2294
-
2295
- ##### ev
2296
-
2297
- `Event`
2298
-
2299
- #### Returns
2300
-
2301
- `any`
2302
-
2303
- #### Inherited from
2304
-
2305
- `Window.onpause`
2306
-
2307
- ***
2308
-
2309
- ### onplay()
2310
-
2311
- > **onplay**: (`this`, `ev`) => `any`
2312
-
2313
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/play_event)
2314
-
2315
- #### Parameters
2316
-
2317
- ##### this
2318
-
2319
- `GlobalEventHandlers`
2320
-
2321
- ##### ev
2322
-
2323
- `Event`
2324
-
2325
- #### Returns
2326
-
2327
- `any`
2328
-
2329
- #### Inherited from
2330
-
2331
- `Window.onplay`
2332
-
2333
- ***
2334
-
2335
- ### onplaying()
2336
-
2337
- > **onplaying**: (`this`, `ev`) => `any`
2338
-
2339
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/playing_event)
2340
-
2341
- #### Parameters
2342
-
2343
- ##### this
2344
-
2345
- `GlobalEventHandlers`
2346
-
2347
- ##### ev
2348
-
2349
- `Event`
2350
-
2351
- #### Returns
2352
-
2353
- `any`
2354
-
2355
- #### Inherited from
2356
-
2357
- `Window.onplaying`
2358
-
2359
- ***
2360
-
2361
- ### onpointercancel()
2362
-
2363
- > **onpointercancel**: (`this`, `ev`) => `any`
2364
-
2365
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointercancel_event)
2366
-
2367
- #### Parameters
2368
-
2369
- ##### this
2370
-
2371
- `GlobalEventHandlers`
2372
-
2373
- ##### ev
2374
-
2375
- `PointerEvent`
2376
-
2377
- #### Returns
2378
-
2379
- `any`
2380
-
2381
- #### Inherited from
2382
-
2383
- `Window.onpointercancel`
2384
-
2385
- ***
2386
-
2387
- ### onpointerdown()
2388
-
2389
- > **onpointerdown**: (`this`, `ev`) => `any`
2390
-
2391
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerdown_event)
2392
-
2393
- #### Parameters
2394
-
2395
- ##### this
2396
-
2397
- `GlobalEventHandlers`
2398
-
2399
- ##### ev
2400
-
2401
- `PointerEvent`
2402
-
2403
- #### Returns
2404
-
2405
- `any`
2406
-
2407
- #### Inherited from
2408
-
2409
- `Window.onpointerdown`
2410
-
2411
- ***
2412
-
2413
- ### onpointerenter()
2414
-
2415
- > **onpointerenter**: (`this`, `ev`) => `any`
2416
-
2417
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerenter_event)
2418
-
2419
- #### Parameters
2420
-
2421
- ##### this
2422
-
2423
- `GlobalEventHandlers`
2424
-
2425
- ##### ev
2426
-
2427
- `PointerEvent`
2428
-
2429
- #### Returns
2430
-
2431
- `any`
2432
-
2433
- #### Inherited from
2434
-
2435
- `Window.onpointerenter`
2436
-
2437
- ***
2438
-
2439
- ### onpointerleave()
2440
-
2441
- > **onpointerleave**: (`this`, `ev`) => `any`
2442
-
2443
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerleave_event)
2444
-
2445
- #### Parameters
2446
-
2447
- ##### this
2448
-
2449
- `GlobalEventHandlers`
2450
-
2451
- ##### ev
2452
-
2453
- `PointerEvent`
2454
-
2455
- #### Returns
2456
-
2457
- `any`
2458
-
2459
- #### Inherited from
2460
-
2461
- `Window.onpointerleave`
2462
-
2463
- ***
2464
-
2465
- ### onpointermove()
2466
-
2467
- > **onpointermove**: (`this`, `ev`) => `any`
2468
-
2469
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointermove_event)
2470
-
2471
- #### Parameters
2472
-
2473
- ##### this
2474
-
2475
- `GlobalEventHandlers`
2476
-
2477
- ##### ev
2478
-
2479
- `PointerEvent`
2480
-
2481
- #### Returns
2482
-
2483
- `any`
2484
-
2485
- #### Inherited from
2486
-
2487
- `Window.onpointermove`
2488
-
2489
- ***
2490
-
2491
- ### onpointerout()
2492
-
2493
- > **onpointerout**: (`this`, `ev`) => `any`
2494
-
2495
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerout_event)
2496
-
2497
- #### Parameters
2498
-
2499
- ##### this
2500
-
2501
- `GlobalEventHandlers`
2502
-
2503
- ##### ev
2504
-
2505
- `PointerEvent`
2506
-
2507
- #### Returns
2508
-
2509
- `any`
2510
-
2511
- #### Inherited from
2512
-
2513
- `Window.onpointerout`
2514
-
2515
- ***
2516
-
2517
- ### onpointerover()
2518
-
2519
- > **onpointerover**: (`this`, `ev`) => `any`
2520
-
2521
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerover_event)
2522
-
2523
- #### Parameters
2524
-
2525
- ##### this
2526
-
2527
- `GlobalEventHandlers`
2528
-
2529
- ##### ev
2530
-
2531
- `PointerEvent`
2532
-
2533
- #### Returns
2534
-
2535
- `any`
2536
-
2537
- #### Inherited from
2538
-
2539
- `Window.onpointerover`
2540
-
2541
- ***
2542
-
2543
- ### onpointerrawupdate()
2544
-
2545
- > **onpointerrawupdate**: (`this`, `ev`) => `any`
2546
-
2547
- Available only in secure contexts.
2548
-
2549
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerrawupdate_event)
2550
-
2551
- #### Parameters
2552
-
2553
- ##### this
2554
-
2555
- `GlobalEventHandlers`
2556
-
2557
- ##### ev
2558
-
2559
- `Event`
2560
-
2561
- #### Returns
2562
-
2563
- `any`
2564
-
2565
- #### Inherited from
2566
-
2567
- `Window.onpointerrawupdate`
2568
-
2569
- ***
2570
-
2571
- ### onpointerup()
2572
-
2573
- > **onpointerup**: (`this`, `ev`) => `any`
2574
-
2575
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerup_event)
2576
-
2577
- #### Parameters
2578
-
2579
- ##### this
2580
-
2581
- `GlobalEventHandlers`
2582
-
2583
- ##### ev
2584
-
2585
- `PointerEvent`
2586
-
2587
- #### Returns
2588
-
2589
- `any`
2590
-
2591
- #### Inherited from
2592
-
2593
- `Window.onpointerup`
2594
-
2595
- ***
2596
-
2597
- ### onpopstate()
2598
-
2599
- > **onpopstate**: (`this`, `ev`) => `any`
2600
-
2601
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/popstate_event)
2602
-
2603
- #### Parameters
2604
-
2605
- ##### this
2606
-
2607
- `WindowEventHandlers`
2608
-
2609
- ##### ev
2610
-
2611
- `PopStateEvent`
2612
-
2613
- #### Returns
2614
-
2615
- `any`
2616
-
2617
- #### Inherited from
2618
-
2619
- `Window.onpopstate`
2620
-
2621
- ***
2622
-
2623
- ### onprogress()
2624
-
2625
- > **onprogress**: (`this`, `ev`) => `any`
2626
-
2627
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/progress_event)
2628
-
2629
- #### Parameters
2630
-
2631
- ##### this
2632
-
2633
- `GlobalEventHandlers`
2634
-
2635
- ##### ev
2636
-
2637
- `ProgressEvent`
2638
-
2639
- #### Returns
2640
-
2641
- `any`
2642
-
2643
- #### Inherited from
2644
-
2645
- `Window.onprogress`
2646
-
2647
- ***
2648
-
2649
- ### onratechange()
2650
-
2651
- > **onratechange**: (`this`, `ev`) => `any`
2652
-
2653
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ratechange_event)
2654
-
2655
- #### Parameters
2656
-
2657
- ##### this
2658
-
2659
- `GlobalEventHandlers`
2660
-
2661
- ##### ev
2662
-
2663
- `Event`
2664
-
2665
- #### Returns
2666
-
2667
- `any`
2668
-
2669
- #### Inherited from
2670
-
2671
- `Window.onratechange`
2672
-
2673
- ***
2674
-
2675
- ### onrejectionhandled()
2676
-
2677
- > **onrejectionhandled**: (`this`, `ev`) => `any`
2678
-
2679
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/rejectionhandled_event)
2680
-
2681
- #### Parameters
2682
-
2683
- ##### this
2684
-
2685
- `WindowEventHandlers`
2686
-
2687
- ##### ev
2688
-
2689
- `PromiseRejectionEvent`
2690
-
2691
- #### Returns
2692
-
2693
- `any`
2694
-
2695
- #### Inherited from
2696
-
2697
- `Window.onrejectionhandled`
2698
-
2699
- ***
2700
-
2701
- ### onreset()
2702
-
2703
- > **onreset**: (`this`, `ev`) => `any`
2704
-
2705
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/reset_event)
2706
-
2707
- #### Parameters
2708
-
2709
- ##### this
2710
-
2711
- `GlobalEventHandlers`
2712
-
2713
- ##### ev
2714
-
2715
- `Event`
2716
-
2717
- #### Returns
2718
-
2719
- `any`
2720
-
2721
- #### Inherited from
2722
-
2723
- `Window.onreset`
2724
-
2725
- ***
2726
-
2727
- ### onresize()
2728
-
2729
- > **onresize**: (`this`, `ev`) => `any`
2730
-
2731
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/resize_event)
2732
-
2733
- #### Parameters
2734
-
2735
- ##### this
2736
-
2737
- `GlobalEventHandlers`
2738
-
2739
- ##### ev
2740
-
2741
- `UIEvent`
2742
-
2743
- #### Returns
2744
-
2745
- `any`
2746
-
2747
- #### Inherited from
2748
-
2749
- `Window.onresize`
2750
-
2751
- ***
2752
-
2753
- ### onscroll()
2754
-
2755
- > **onscroll**: (`this`, `ev`) => `any`
2756
-
2757
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/scroll_event)
2758
-
2759
- #### Parameters
2760
-
2761
- ##### this
2762
-
2763
- `GlobalEventHandlers`
2764
-
2765
- ##### ev
2766
-
2767
- `Event`
2768
-
2769
- #### Returns
2770
-
2771
- `any`
2772
-
2773
- #### Inherited from
2774
-
2775
- `Window.onscroll`
2776
-
2777
- ***
2778
-
2779
- ### onscrollend()
2780
-
2781
- > **onscrollend**: (`this`, `ev`) => `any`
2782
-
2783
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/scrollend_event)
2784
-
2785
- #### Parameters
2786
-
2787
- ##### this
2788
-
2789
- `GlobalEventHandlers`
2790
-
2791
- ##### ev
2792
-
2793
- `Event`
2794
-
2795
- #### Returns
2796
-
2797
- `any`
2798
-
2799
- #### Inherited from
2800
-
2801
- `Window.onscrollend`
2802
-
2803
- ***
2804
-
2805
- ### onsecuritypolicyviolation()
2806
-
2807
- > **onsecuritypolicyviolation**: (`this`, `ev`) => `any`
2808
-
2809
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/securitypolicyviolation_event)
2810
-
2811
- #### Parameters
2812
-
2813
- ##### this
2814
-
2815
- `GlobalEventHandlers`
2816
-
2817
- ##### ev
2818
-
2819
- `SecurityPolicyViolationEvent`
2820
-
2821
- #### Returns
2822
-
2823
- `any`
2824
-
2825
- #### Inherited from
2826
-
2827
- `Window.onsecuritypolicyviolation`
2828
-
2829
- ***
2830
-
2831
- ### onseeked()
2832
-
2833
- > **onseeked**: (`this`, `ev`) => `any`
2834
-
2835
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeked_event)
2836
-
2837
- #### Parameters
2838
-
2839
- ##### this
2840
-
2841
- `GlobalEventHandlers`
2842
-
2843
- ##### ev
2844
-
2845
- `Event`
2846
-
2847
- #### Returns
2848
-
2849
- `any`
2850
-
2851
- #### Inherited from
2852
-
2853
- `Window.onseeked`
2854
-
2855
- ***
2856
-
2857
- ### onseeking()
2858
-
2859
- > **onseeking**: (`this`, `ev`) => `any`
2860
-
2861
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeking_event)
2862
-
2863
- #### Parameters
2864
-
2865
- ##### this
2866
-
2867
- `GlobalEventHandlers`
2868
-
2869
- ##### ev
2870
-
2871
- `Event`
2872
-
2873
- #### Returns
2874
-
2875
- `any`
2876
-
2877
- #### Inherited from
2878
-
2879
- `Window.onseeking`
2880
-
2881
- ***
2882
-
2883
- ### onselect()
2884
-
2885
- > **onselect**: (`this`, `ev`) => `any`
2886
-
2887
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/select_event)
2888
-
2889
- #### Parameters
2890
-
2891
- ##### this
2892
-
2893
- `GlobalEventHandlers`
2894
-
2895
- ##### ev
2896
-
2897
- `Event`
2898
-
2899
- #### Returns
2900
-
2901
- `any`
2902
-
2903
- #### Inherited from
2904
-
2905
- `Window.onselect`
2906
-
2907
- ***
2908
-
2909
- ### onselectionchange()
2910
-
2911
- > **onselectionchange**: (`this`, `ev`) => `any`
2912
-
2913
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/selectionchange_event)
2914
-
2915
- #### Parameters
2916
-
2917
- ##### this
2918
-
2919
- `GlobalEventHandlers`
2920
-
2921
- ##### ev
2922
-
2923
- `Event`
2924
-
2925
- #### Returns
2926
-
2927
- `any`
2928
-
2929
- #### Inherited from
2930
-
2931
- `Window.onselectionchange`
2932
-
2933
- ***
2934
-
2935
- ### onselectstart()
2936
-
2937
- > **onselectstart**: (`this`, `ev`) => `any`
2938
-
2939
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/selectstart_event)
2940
-
2941
- #### Parameters
2942
-
2943
- ##### this
2944
-
2945
- `GlobalEventHandlers`
2946
-
2947
- ##### ev
2948
-
2949
- `Event`
2950
-
2951
- #### Returns
2952
-
2953
- `any`
2954
-
2955
- #### Inherited from
2956
-
2957
- `Window.onselectstart`
2958
-
2959
- ***
2960
-
2961
- ### onslotchange()
2962
-
2963
- > **onslotchange**: (`this`, `ev`) => `any`
2964
-
2965
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSlotElement/slotchange_event)
2966
-
2967
- #### Parameters
2968
-
2969
- ##### this
2970
-
2971
- `GlobalEventHandlers`
2972
-
2973
- ##### ev
2974
-
2975
- `Event`
2976
-
2977
- #### Returns
2978
-
2979
- `any`
2980
-
2981
- #### Inherited from
2982
-
2983
- `Window.onslotchange`
2984
-
2985
- ***
2986
-
2987
- ### onstalled()
2988
-
2989
- > **onstalled**: (`this`, `ev`) => `any`
2990
-
2991
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/stalled_event)
2992
-
2993
- #### Parameters
2994
-
2995
- ##### this
2996
-
2997
- `GlobalEventHandlers`
2998
-
2999
- ##### ev
3000
-
3001
- `Event`
3002
-
3003
- #### Returns
3004
-
3005
- `any`
3006
-
3007
- #### Inherited from
3008
-
3009
- `Window.onstalled`
3010
-
3011
- ***
3012
-
3013
- ### onstorage()
3014
-
3015
- > **onstorage**: (`this`, `ev`) => `any`
3016
-
3017
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/storage_event)
3018
-
3019
- #### Parameters
3020
-
3021
- ##### this
3022
-
3023
- `WindowEventHandlers`
3024
-
3025
- ##### ev
3026
-
3027
- `StorageEvent`
3028
-
3029
- #### Returns
3030
-
3031
- `any`
3032
-
3033
- #### Inherited from
3034
-
3035
- `Window.onstorage`
3036
-
3037
- ***
3038
-
3039
- ### onsubmit()
3040
-
3041
- > **onsubmit**: (`this`, `ev`) => `any`
3042
-
3043
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/submit_event)
3044
-
3045
- #### Parameters
3046
-
3047
- ##### this
3048
-
3049
- `GlobalEventHandlers`
3050
-
3051
- ##### ev
3052
-
3053
- `SubmitEvent`
3054
-
3055
- #### Returns
3056
-
3057
- `any`
3058
-
3059
- #### Inherited from
3060
-
3061
- `Window.onsubmit`
3062
-
3063
- ***
3064
-
3065
- ### onsuspend()
3066
-
3067
- > **onsuspend**: (`this`, `ev`) => `any`
3068
-
3069
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/suspend_event)
3070
-
3071
- #### Parameters
3072
-
3073
- ##### this
3074
-
3075
- `GlobalEventHandlers`
3076
-
3077
- ##### ev
3078
-
3079
- `Event`
3080
-
3081
- #### Returns
3082
-
3083
- `any`
3084
-
3085
- #### Inherited from
3086
-
3087
- `Window.onsuspend`
3088
-
3089
- ***
3090
-
3091
- ### ontimeupdate()
3092
-
3093
- > **ontimeupdate**: (`this`, `ev`) => `any`
3094
-
3095
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/timeupdate_event)
3096
-
3097
- #### Parameters
3098
-
3099
- ##### this
3100
-
3101
- `GlobalEventHandlers`
3102
-
3103
- ##### ev
3104
-
3105
- `Event`
3106
-
3107
- #### Returns
3108
-
3109
- `any`
3110
-
3111
- #### Inherited from
3112
-
3113
- `Window.ontimeupdate`
3114
-
3115
- ***
3116
-
3117
- ### ontoggle()
3118
-
3119
- > **ontoggle**: (`this`, `ev`) => `any`
3120
-
3121
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/toggle_event)
3122
-
3123
- #### Parameters
3124
-
3125
- ##### this
3126
-
3127
- `GlobalEventHandlers`
3128
-
3129
- ##### ev
3130
-
3131
- `ToggleEvent`
3132
-
3133
- #### Returns
3134
-
3135
- `any`
3136
-
3137
- #### Inherited from
3138
-
3139
- `Window.ontoggle`
3140
-
3141
- ***
3142
-
3143
- ### ontouchcancel()?
3144
-
3145
- > `optional` **ontouchcancel**: (`this`, `ev`) => `any`
3146
-
3147
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchcancel_event)
3148
-
3149
- #### Parameters
3150
-
3151
- ##### this
3152
-
3153
- `GlobalEventHandlers`
3154
-
3155
- ##### ev
3156
-
3157
- `TouchEvent`
3158
-
3159
- #### Returns
3160
-
3161
- `any`
3162
-
3163
- #### Inherited from
3164
-
3165
- `Window.ontouchcancel`
3166
-
3167
- ***
3168
-
3169
- ### ontouchend()?
3170
-
3171
- > `optional` **ontouchend**: (`this`, `ev`) => `any`
3172
-
3173
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchend_event)
3174
-
3175
- #### Parameters
3176
-
3177
- ##### this
3178
-
3179
- `GlobalEventHandlers`
3180
-
3181
- ##### ev
3182
-
3183
- `TouchEvent`
3184
-
3185
- #### Returns
3186
-
3187
- `any`
3188
-
3189
- #### Inherited from
3190
-
3191
- `Window.ontouchend`
3192
-
3193
- ***
3194
-
3195
- ### ontouchmove()?
3196
-
3197
- > `optional` **ontouchmove**: (`this`, `ev`) => `any`
3198
-
3199
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchmove_event)
3200
-
3201
- #### Parameters
3202
-
3203
- ##### this
3204
-
3205
- `GlobalEventHandlers`
3206
-
3207
- ##### ev
3208
-
3209
- `TouchEvent`
3210
-
3211
- #### Returns
3212
-
3213
- `any`
3214
-
3215
- #### Inherited from
3216
-
3217
- `Window.ontouchmove`
3218
-
3219
- ***
3220
-
3221
- ### ontouchstart()?
3222
-
3223
- > `optional` **ontouchstart**: (`this`, `ev`) => `any`
3224
-
3225
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchstart_event)
3226
-
3227
- #### Parameters
3228
-
3229
- ##### this
3230
-
3231
- `GlobalEventHandlers`
3232
-
3233
- ##### ev
3234
-
3235
- `TouchEvent`
3236
-
3237
- #### Returns
3238
-
3239
- `any`
3240
-
3241
- #### Inherited from
3242
-
3243
- `Window.ontouchstart`
3244
-
3245
- ***
3246
-
3247
- ### ontransitioncancel()
3248
-
3249
- > **ontransitioncancel**: (`this`, `ev`) => `any`
3250
-
3251
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitioncancel_event)
3252
-
3253
- #### Parameters
3254
-
3255
- ##### this
3256
-
3257
- `GlobalEventHandlers`
3258
-
3259
- ##### ev
3260
-
3261
- `TransitionEvent`
3262
-
3263
- #### Returns
3264
-
3265
- `any`
3266
-
3267
- #### Inherited from
3268
-
3269
- `Window.ontransitioncancel`
3270
-
3271
- ***
3272
-
3273
- ### ontransitionend()
3274
-
3275
- > **ontransitionend**: (`this`, `ev`) => `any`
3276
-
3277
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionend_event)
3278
-
3279
- #### Parameters
3280
-
3281
- ##### this
3282
-
3283
- `GlobalEventHandlers`
3284
-
3285
- ##### ev
3286
-
3287
- `TransitionEvent`
3288
-
3289
- #### Returns
3290
-
3291
- `any`
3292
-
3293
- #### Inherited from
3294
-
3295
- `Window.ontransitionend`
3296
-
3297
- ***
3298
-
3299
- ### ontransitionrun()
3300
-
3301
- > **ontransitionrun**: (`this`, `ev`) => `any`
3302
-
3303
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionrun_event)
3304
-
3305
- #### Parameters
3306
-
3307
- ##### this
3308
-
3309
- `GlobalEventHandlers`
3310
-
3311
- ##### ev
3312
-
3313
- `TransitionEvent`
3314
-
3315
- #### Returns
3316
-
3317
- `any`
3318
-
3319
- #### Inherited from
3320
-
3321
- `Window.ontransitionrun`
3322
-
3323
- ***
3324
-
3325
- ### ontransitionstart()
3326
-
3327
- > **ontransitionstart**: (`this`, `ev`) => `any`
3328
-
3329
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionstart_event)
3330
-
3331
- #### Parameters
3332
-
3333
- ##### this
3334
-
3335
- `GlobalEventHandlers`
3336
-
3337
- ##### ev
3338
-
3339
- `TransitionEvent`
3340
-
3341
- #### Returns
3342
-
3343
- `any`
3344
-
3345
- #### Inherited from
3346
-
3347
- `Window.ontransitionstart`
3348
-
3349
- ***
3350
-
3351
- ### onunhandledrejection()
3352
-
3353
- > **onunhandledrejection**: (`this`, `ev`) => `any`
3354
-
3355
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unhandledrejection_event)
3356
-
3357
- #### Parameters
3358
-
3359
- ##### this
3360
-
3361
- `WindowEventHandlers`
3362
-
3363
- ##### ev
3364
-
3365
- `PromiseRejectionEvent`
3366
-
3367
- #### Returns
3368
-
3369
- `any`
3370
-
3371
- #### Inherited from
3372
-
3373
- `Window.onunhandledrejection`
3374
-
3375
- ***
3376
-
3377
- ### ~~onunload()~~
3378
-
3379
- > **onunload**: (`this`, `ev`) => `any`
3380
-
3381
- #### Parameters
3382
-
3383
- ##### this
3384
-
3385
- `WindowEventHandlers`
3386
-
3387
- ##### ev
3388
-
3389
- `Event`
3390
-
3391
- #### Returns
3392
-
3393
- `any`
3394
-
3395
- #### Deprecated
3396
-
3397
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unload_event)
3398
-
3399
- #### Inherited from
3400
-
3401
- `Window.onunload`
3402
-
3403
- ***
3404
-
3405
- ### onvolumechange()
3406
-
3407
- > **onvolumechange**: (`this`, `ev`) => `any`
3408
-
3409
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/volumechange_event)
3410
-
3411
- #### Parameters
3412
-
3413
- ##### this
3414
-
3415
- `GlobalEventHandlers`
3416
-
3417
- ##### ev
3418
-
3419
- `Event`
3420
-
3421
- #### Returns
3422
-
3423
- `any`
3424
-
3425
- #### Inherited from
3426
-
3427
- `Window.onvolumechange`
3428
-
3429
- ***
3430
-
3431
- ### onwaiting()
3432
-
3433
- > **onwaiting**: (`this`, `ev`) => `any`
3434
-
3435
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waiting_event)
3436
-
3437
- #### Parameters
3438
-
3439
- ##### this
3440
-
3441
- `GlobalEventHandlers`
3442
-
3443
- ##### ev
3444
-
3445
- `Event`
3446
-
3447
- #### Returns
3448
-
3449
- `any`
3450
-
3451
- #### Inherited from
3452
-
3453
- `Window.onwaiting`
3454
-
3455
- ***
3456
-
3457
- ### ~~onwebkitanimationend()~~
3458
-
3459
- > **onwebkitanimationend**: (`this`, `ev`) => `any`
3460
-
3461
- #### Parameters
3462
-
3463
- ##### this
3464
-
3465
- `GlobalEventHandlers`
3466
-
3467
- ##### ev
3468
-
3469
- `Event`
3470
-
3471
- #### Returns
3472
-
3473
- `any`
3474
-
3475
- #### Deprecated
3476
-
3477
- This is a legacy alias of `onanimationend`.
3478
-
3479
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationend_event)
3480
-
3481
- #### Inherited from
3482
-
3483
- `Window.onwebkitanimationend`
3484
-
3485
- ***
3486
-
3487
- ### ~~onwebkitanimationiteration()~~
3488
-
3489
- > **onwebkitanimationiteration**: (`this`, `ev`) => `any`
3490
-
3491
- #### Parameters
3492
-
3493
- ##### this
3494
-
3495
- `GlobalEventHandlers`
3496
-
3497
- ##### ev
3498
-
3499
- `Event`
3500
-
3501
- #### Returns
3502
-
3503
- `any`
3504
-
3505
- #### Deprecated
3506
-
3507
- This is a legacy alias of `onanimationiteration`.
3508
-
3509
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationiteration_event)
3510
-
3511
- #### Inherited from
3512
-
3513
- `Window.onwebkitanimationiteration`
3514
-
3515
- ***
3516
-
3517
- ### ~~onwebkitanimationstart()~~
3518
-
3519
- > **onwebkitanimationstart**: (`this`, `ev`) => `any`
3520
-
3521
- #### Parameters
3522
-
3523
- ##### this
3524
-
3525
- `GlobalEventHandlers`
3526
-
3527
- ##### ev
3528
-
3529
- `Event`
3530
-
3531
- #### Returns
3532
-
3533
- `any`
3534
-
3535
- #### Deprecated
3536
-
3537
- This is a legacy alias of `onanimationstart`.
3538
-
3539
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationstart_event)
3540
-
3541
- #### Inherited from
3542
-
3543
- `Window.onwebkitanimationstart`
3544
-
3545
- ***
3546
-
3547
- ### ~~onwebkittransitionend()~~
3548
-
3549
- > **onwebkittransitionend**: (`this`, `ev`) => `any`
3550
-
3551
- #### Parameters
3552
-
3553
- ##### this
3554
-
3555
- `GlobalEventHandlers`
3556
-
3557
- ##### ev
3558
-
3559
- `Event`
3560
-
3561
- #### Returns
3562
-
3563
- `any`
3564
-
3565
- #### Deprecated
3566
-
3567
- This is a legacy alias of `ontransitionend`.
3568
-
3569
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionend_event)
3570
-
3571
- #### Inherited from
3572
-
3573
- `Window.onwebkittransitionend`
3574
-
3575
- ***
3576
-
3577
- ### onwheel()
3578
-
3579
- > **onwheel**: (`this`, `ev`) => `any`
3580
-
3581
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/wheel_event)
3582
-
3583
- #### Parameters
3584
-
3585
- ##### this
3586
-
3587
- `GlobalEventHandlers`
3588
-
3589
- ##### ev
3590
-
3591
- `WheelEvent`
3592
-
3593
- #### Returns
3594
-
3595
- `any`
3596
-
3597
- #### Inherited from
3598
-
3599
- `Window.onwheel`
3600
-
3601
- ***
3602
-
3603
- ### opener
3604
-
3605
- > **opener**: `any`
3606
-
3607
- The Window interface's **`opener`** property returns a reference to the window that opened the window, either with Window.open, or by navigating a link with a `target` attribute.
3608
-
3609
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/opener)
3610
-
3611
- #### Inherited from
3612
-
3613
- `Window.opener`
3614
-
3615
- ***
3616
-
3617
- ### ~~orientation~~
3618
-
3619
- > `readonly` **orientation**: `number`
3620
-
3621
- Returns the orientation in degrees (in 90-degree increments) of the viewport relative to the device's natural orientation.
3622
-
3623
- #### Deprecated
3624
-
3625
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/orientation)
3626
-
3627
- #### Inherited from
3628
-
3629
- `Window.orientation`
3630
-
3631
- ***
3632
-
3633
- ### origin
3634
-
3635
- > `readonly` **origin**: `string`
3636
-
3637
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin)
3638
-
3639
- #### Inherited from
3640
-
3641
- `Window.origin`
3642
-
3643
- ***
3644
-
3645
- ### originAgentCluster
3646
-
3647
- > `readonly` **originAgentCluster**: `boolean`
3648
-
3649
- The **`originAgentCluster`** read-only property of the Window interface returns `true` if this window belongs to an _origin-keyed agent cluster_: this means that the operating system has provided dedicated resources (for example an operating system process) to this window's origin that are not shared with windows from other origins.
3650
-
3651
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/originAgentCluster)
3652
-
3653
- #### Inherited from
3654
-
3655
- `Window.originAgentCluster`
3656
-
3657
- ***
3658
-
3659
- ### outerHeight
3660
-
3661
- > `readonly` **outerHeight**: `number`
3662
-
3663
- The **`Window.outerHeight`** read-only property returns the height in pixels of the whole browser window, including any sidebar, window chrome, and window-resizing borders/handles.
3664
-
3665
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerHeight)
3666
-
3667
- #### Inherited from
3668
-
3669
- `Window.outerHeight`
3670
-
3671
- ***
3672
-
3673
- ### outerWidth
3674
-
3675
- > `readonly` **outerWidth**: `number`
3676
-
3677
- **`Window.outerWidth`** read-only property returns the width of the outside of the browser window.
3678
-
3679
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerWidth)
3680
-
3681
- #### Inherited from
3682
-
3683
- `Window.outerWidth`
3684
-
3685
- ***
3686
-
3687
- ### pageXOffset
3688
-
3689
- > `readonly` **pageXOffset**: `number`
3690
-
3691
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollX)
3692
-
3693
- #### Inherited from
3694
-
3695
- `Window.pageXOffset`
3696
-
3697
- ***
3698
-
3699
- ### pageYOffset
3700
-
3701
- > `readonly` **pageYOffset**: `number`
3702
-
3703
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollY)
3704
-
3705
- #### Inherited from
3706
-
3707
- `Window.pageYOffset`
3708
-
3709
- ***
3710
-
3711
- ### parent
3712
-
3713
- > `readonly` **parent**: `Window`
3714
-
3715
- The **`Window.parent`** property is a reference to the parent of the current window or subframe.
3716
-
3717
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/parent)
3718
-
3719
- #### Inherited from
3720
-
3721
- `Window.parent`
3722
-
3723
- ***
3724
-
3725
- ### performance
3726
-
3727
- > `readonly` **performance**: `Performance`
3728
-
3729
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance)
3730
-
3731
- #### Inherited from
3732
-
3733
- `Window.performance`
3734
-
3735
- ***
3736
-
3737
- ### personalbar
3738
-
3739
- > `readonly` **personalbar**: `BarProp`
3740
-
3741
- Returns the `personalbar` object.
3742
-
3743
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/personalbar)
3744
-
3745
- #### Inherited from
3746
-
3747
- `Window.personalbar`
3748
-
3749
- ***
3750
-
3751
- ### screen
3752
-
3753
- > `readonly` **screen**: `Screen`
3754
-
3755
- The Window property **`screen`** returns a reference to the screen object associated with the window.
3756
-
3757
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/screen)
3758
-
3759
- #### Inherited from
3760
-
3761
- `Window.screen`
3762
-
3763
- ***
3764
-
3765
- ### screenLeft
3766
-
3767
- > `readonly` **screenLeft**: `number`
3768
-
3769
- The **`Window.screenLeft`** read-only property returns the horizontal distance, in CSS pixels, from the left border of the user's browser viewport to the left side of the screen.
3770
-
3771
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/screenLeft)
3772
-
3773
- #### Inherited from
3774
-
3775
- `Window.screenLeft`
3776
-
3777
- ***
3778
-
3779
- ### screenTop
3780
-
3781
- > `readonly` **screenTop**: `number`
3782
-
3783
- The **`Window.screenTop`** read-only property returns the vertical distance, in CSS pixels, from the top border of the user's browser viewport to the top side of the screen.
3784
-
3785
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/screenTop)
3786
-
3787
- #### Inherited from
3788
-
3789
- `Window.screenTop`
3790
-
3791
- ***
3792
-
3793
- ### screenX
3794
-
3795
- > `readonly` **screenX**: `number`
3796
-
3797
- The **`Window.screenX`** read-only property returns the horizontal distance, in CSS pixels, of the left border of the user's browser viewport to the left side of the screen.
3798
-
3799
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/screenX)
3800
-
3801
- #### Inherited from
3802
-
3803
- `Window.screenX`
3804
-
3805
- ***
3806
-
3807
- ### screenY
3808
-
3809
- > `readonly` **screenY**: `number`
3810
-
3811
- The **`Window.screenY`** read-only property returns the vertical distance, in CSS pixels, of the top border of the user's browser viewport to the top edge of the screen.
3812
-
3813
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/screenY)
3814
-
3815
- #### Inherited from
3816
-
3817
- `Window.screenY`
3818
-
3819
- ***
3820
-
3821
- ### scrollbars
3822
-
3823
- > `readonly` **scrollbars**: `BarProp`
3824
-
3825
- Returns the `scrollbars` object.
3826
-
3827
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollbars)
3828
-
3829
- #### Inherited from
3830
-
3831
- `Window.scrollbars`
3832
-
3833
- ***
3834
-
3835
- ### scrollX
3836
-
3837
- > `readonly` **scrollX**: `number`
3838
-
3839
- The read-only **`scrollX`** property of the Window interface returns the number of pixels by which the document is currently scrolled horizontally.
3840
-
3841
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollX)
3842
-
3843
- #### Inherited from
3844
-
3845
- `Window.scrollX`
3846
-
3847
- ***
3848
-
3849
- ### scrollY
3850
-
3851
- > `readonly` **scrollY**: `number`
3852
-
3853
- The read-only **`scrollY`** property of the Window interface returns the number of pixels by which the document is currently scrolled vertically.
3854
-
3855
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollY)
3856
-
3857
- #### Inherited from
3858
-
3859
- `Window.scrollY`
3860
-
3861
- ***
3862
-
3863
- ### self
3864
-
3865
- > `readonly` **self**: `Window` & *typeof* `globalThis`
3866
-
3867
- The **`Window.self`** read-only property returns the window itself, as a WindowProxy.
3868
-
3869
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/self)
3870
-
3871
- #### Inherited from
3872
-
3873
- `Window.self`
3874
-
3875
- ***
3876
-
3877
- ### sessionStorage
3878
-
3879
- > `readonly` **sessionStorage**: `Storage`
3880
-
3881
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/sessionStorage)
3882
-
3883
- #### Inherited from
3884
-
3885
- `Window.sessionStorage`
3886
-
3887
- ***
3888
-
3889
- ### speechSynthesis
3890
-
3891
- > `readonly` **speechSynthesis**: `SpeechSynthesis`
3892
-
3893
- The `speechSynthesis` read-only property of the Window object returns a SpeechSynthesis object, which is the entry point into using Web Speech API speech synthesis functionality.
3894
-
3895
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/speechSynthesis)
3896
-
3897
- #### Inherited from
3898
-
3899
- `Window.speechSynthesis`
3900
-
3901
- ***
3902
-
3903
- ### ~~status~~
3904
-
3905
- > **status**: `string`
3906
-
3907
- The **`status`** property of the bar at the bottom of the browser window.
3908
-
3909
- #### Deprecated
3910
-
3911
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/status)
3912
-
3913
- #### Inherited from
3914
-
3915
- `Window.status`
3916
-
3917
- ***
3918
-
3919
- ### statusbar
3920
-
3921
- > `readonly` **statusbar**: `BarProp`
3922
-
3923
- Returns the `statusbar` object.
3924
-
3925
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/statusbar)
3926
-
3927
- #### Inherited from
3928
-
3929
- `Window.statusbar`
3930
-
3931
- ***
3932
-
3933
- ### toolbar
3934
-
3935
- > `readonly` **toolbar**: `BarProp`
3936
-
3937
- Returns the `toolbar` object.
3938
-
3939
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/toolbar)
3940
-
3941
- #### Inherited from
3942
-
3943
- `Window.toolbar`
3944
-
3945
- ***
3946
-
3947
- ### top
3948
-
3949
- > `readonly` **top**: `Window`
3950
-
3951
- Returns a reference to the topmost window in the window hierarchy.
3952
-
3953
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/top)
3954
-
3955
- #### Inherited from
3956
-
3957
- `Window.top`
3958
-
3959
- ***
3960
-
3961
- ### visualViewport
3962
-
3963
- > `readonly` **visualViewport**: `VisualViewport`
3964
-
3965
- The **`visualViewport`** read-only property of the Window interface returns a VisualViewport object representing the visual viewport for a given window, or `null` if current document is not fully active.
3966
-
3967
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/visualViewport)
3968
-
3969
- #### Inherited from
3970
-
3971
- `Window.visualViewport`
3972
-
3973
- ***
3974
-
3975
- ### window
3976
-
3977
- > `readonly` **window**: `Window` & *typeof* `globalThis`
3978
-
3979
- The **`window`** property of a Window object points to the window object itself.
3980
-
3981
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/window)
3982
-
3983
- #### Inherited from
3984
-
3985
- `Window.window`
3986
-
3987
- ## Accessors
3988
-
3989
- ### location
3990
-
3991
- #### Get Signature
3992
-
3993
- > **get** **location**(): `Location`
3994
-
3995
- The **`Window.location`** read-only property returns a Location object with information about the current location of the document.
3996
-
3997
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/location)
3998
-
3999
- ##### Returns
4000
-
4001
- `Location`
4002
-
4003
- #### Set Signature
4004
-
4005
- > **set** **location**(`href`): `void`
4006
-
4007
- ##### Parameters
4008
-
4009
- ###### href
4010
-
4011
- `string`
4012
-
4013
- ##### Returns
4014
-
4015
- `void`
4016
-
4017
- #### Inherited from
4018
-
4019
- `Window.location`
4020
-
4021
- ## Methods
4022
-
4023
- ### addEventListener()
4024
-
4025
- #### Call Signature
4026
-
4027
- > **addEventListener**\<`K`\>(`type`, `listener`, `options?`): `void`
4028
-
4029
- The **`addEventListener()`** method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
4030
-
4031
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
4032
-
4033
- ##### Type Parameters
4034
-
4035
- ###### K
4036
-
4037
- `K` *extends* keyof `WindowEventMap`
4038
-
4039
- ##### Parameters
4040
-
4041
- ###### type
4042
-
4043
- `K`
4044
-
4045
- ###### listener
4046
-
4047
- (`this`, `ev`) => `any`
4048
-
4049
- ###### options?
4050
-
4051
- `boolean` | `AddEventListenerOptions`
4052
-
4053
- ##### Returns
4054
-
4055
- `void`
4056
-
4057
- ##### Inherited from
4058
-
4059
- `Window.addEventListener`
4060
-
4061
- #### Call Signature
4062
-
4063
- > **addEventListener**(`type`, `listener`, `options?`): `void`
4064
-
4065
- The **`addEventListener()`** method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
4066
-
4067
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
4068
-
4069
- ##### Parameters
4070
-
4071
- ###### type
4072
-
4073
- `string`
4074
-
4075
- ###### listener
4076
-
4077
- `EventListenerOrEventListenerObject`
4078
-
4079
- ###### options?
4080
-
4081
- `boolean` | `AddEventListenerOptions`
4082
-
4083
- ##### Returns
4084
-
4085
- `void`
4086
-
4087
- ##### Inherited from
4088
-
4089
- `Window.addEventListener`
4090
-
4091
- ***
4092
-
4093
- ### alert()
4094
-
4095
- > **alert**(`message?`): `void`
4096
-
4097
- `window.alert()` instructs the browser to display a dialog with an optional message, and to wait until the user dismisses the dialog.
4098
-
4099
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/alert)
4100
-
4101
- #### Parameters
4102
-
4103
- ##### message?
4104
-
4105
- `any`
4106
-
4107
- #### Returns
4108
-
4109
- `void`
4110
-
4111
- #### Inherited from
4112
-
4113
- `Window.alert`
4114
-
4115
- ***
4116
-
4117
- ### atob()
4118
-
4119
- > **atob**(`data`): `string`
4120
-
4121
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob)
4122
-
4123
- #### Parameters
4124
-
4125
- ##### data
4126
-
4127
- `string`
4128
-
4129
- #### Returns
4130
-
4131
- `string`
4132
-
4133
- #### Inherited from
4134
-
4135
- `Window.atob`
4136
-
4137
- ***
4138
-
4139
- ### ~~blur()~~
4140
-
4141
- > **blur**(): `void`
4142
-
4143
- The **`Window.blur()`** method does nothing.
4144
-
4145
- #### Returns
4146
-
4147
- `void`
4148
-
4149
- #### Deprecated
4150
-
4151
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur)
4152
-
4153
- #### Inherited from
4154
-
4155
- `Window.blur`
4156
-
4157
- ***
4158
-
4159
- ### btoa()
4160
-
4161
- > **btoa**(`data`): `string`
4162
-
4163
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa)
4164
-
4165
- #### Parameters
4166
-
4167
- ##### data
4168
-
4169
- `string`
4170
-
4171
- #### Returns
4172
-
4173
- `string`
4174
-
4175
- #### Inherited from
4176
-
4177
- `Window.btoa`
4178
-
4179
- ***
4180
-
4181
- ### cancelAnimationFrame()
4182
-
4183
- > **cancelAnimationFrame**(`handle`): `void`
4184
-
4185
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame)
4186
-
4187
- #### Parameters
4188
-
4189
- ##### handle
4190
-
4191
- `number`
4192
-
4193
- #### Returns
4194
-
4195
- `void`
4196
-
4197
- #### Inherited from
4198
-
4199
- `Window.cancelAnimationFrame`
4200
-
4201
- ***
4202
-
4203
- ### cancelIdleCallback()
4204
-
4205
- > **cancelIdleCallback**(`handle`): `void`
4206
-
4207
- The **`window.cancelIdleCallback()`** method cancels a callback previously scheduled with window.requestIdleCallback().
4208
-
4209
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/cancelIdleCallback)
4210
-
4211
- #### Parameters
4212
-
4213
- ##### handle
4214
-
4215
- `number`
4216
-
4217
- #### Returns
4218
-
4219
- `void`
4220
-
4221
- #### Inherited from
4222
-
4223
- `Window.cancelIdleCallback`
4224
-
4225
- ***
4226
-
4227
- ### ~~captureEvents()~~
4228
-
4229
- > **captureEvents**(): `void`
4230
-
4231
- The **`Window.captureEvents()`** method does nothing.
4232
-
4233
- #### Returns
4234
-
4235
- `void`
4236
-
4237
- #### Deprecated
4238
-
4239
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/captureEvents)
4240
-
4241
- #### Inherited from
4242
-
4243
- `Window.captureEvents`
4244
-
4245
- ***
4246
-
4247
- ### clearInterval()
4248
-
4249
- > **clearInterval**(`id`): `void`
4250
-
4251
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearInterval)
4252
-
4253
- #### Parameters
4254
-
4255
- ##### id
4256
-
4257
- `number`
4258
-
4259
- #### Returns
4260
-
4261
- `void`
4262
-
4263
- #### Inherited from
4264
-
4265
- `Window.clearInterval`
4266
-
4267
- ***
4268
-
4269
- ### clearTimeout()
4270
-
4271
- > **clearTimeout**(`id`): `void`
4272
-
4273
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearTimeout)
4274
-
4275
- #### Parameters
4276
-
4277
- ##### id
4278
-
4279
- `number`
4280
-
4281
- #### Returns
4282
-
4283
- `void`
4284
-
4285
- #### Inherited from
4286
-
4287
- `Window.clearTimeout`
4288
-
4289
- ***
4290
-
4291
- ### close()
4292
-
4293
- > **close**(): `void`
4294
-
4295
- The **`Window.close()`** method closes the current window, or the window on which it was called.
4296
-
4297
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/close)
4298
-
4299
- #### Returns
4300
-
4301
- `void`
4302
-
4303
- #### Inherited from
4304
-
4305
- `Window.close`
4306
-
4307
- ***
4308
-
4309
- ### confirm()
4310
-
4311
- > **confirm**(`message?`): `boolean`
4312
-
4313
- `window.confirm()` instructs the browser to display a dialog with an optional message, and to wait until the user either confirms or cancels the dialog.
4314
-
4315
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/confirm)
4316
-
4317
- #### Parameters
4318
-
4319
- ##### message?
4320
-
4321
- `string`
4322
-
4323
- #### Returns
4324
-
4325
- `boolean`
4326
-
4327
- #### Inherited from
4328
-
4329
- `Window.confirm`
4330
-
4331
- ***
4332
-
4333
- ### createImageBitmap()
4334
-
4335
- #### Call Signature
4336
-
4337
- > **createImageBitmap**(`image`, `options?`): `Promise`\<`ImageBitmap`\>
4338
-
4339
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/createImageBitmap)
4340
-
4341
- ##### Parameters
4342
-
4343
- ###### image
4344
-
4345
- `ImageBitmapSource`
4346
-
4347
- ###### options?
4348
-
4349
- `ImageBitmapOptions`
4350
-
4351
- ##### Returns
4352
-
4353
- `Promise`\<`ImageBitmap`\>
4354
-
4355
- ##### Inherited from
4356
-
4357
- `Window.createImageBitmap`
4358
-
4359
- #### Call Signature
4360
-
4361
- > **createImageBitmap**(`image`, `sx`, `sy`, `sw`, `sh`, `options?`): `Promise`\<`ImageBitmap`\>
4362
-
4363
- ##### Parameters
4364
-
4365
- ###### image
4366
-
4367
- `ImageBitmapSource`
4368
-
4369
- ###### sx
4370
-
4371
- `number`
4372
-
4373
- ###### sy
4374
-
4375
- `number`
4376
-
4377
- ###### sw
4378
-
4379
- `number`
4380
-
4381
- ###### sh
4382
-
4383
- `number`
4384
-
4385
- ###### options?
4386
-
4387
- `ImageBitmapOptions`
4388
-
4389
- ##### Returns
4390
-
4391
- `Promise`\<`ImageBitmap`\>
4392
-
4393
- ##### Inherited from
4394
-
4395
- `Window.createImageBitmap`
4396
-
4397
- ***
4398
-
4399
- ### dispatchEvent()
4400
-
4401
- > **dispatchEvent**(`event`): `boolean`
4402
-
4403
- The **`dispatchEvent()`** method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.
4404
-
4405
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
4406
-
4407
- #### Parameters
4408
-
4409
- ##### event
4410
-
4411
- `Event`
4412
-
4413
- #### Returns
4414
-
4415
- `boolean`
4416
-
4417
- #### Inherited from
4418
-
4419
- `Window.dispatchEvent`
4420
-
4421
- ***
4422
-
4423
- ### fetch()
4424
-
4425
- > **fetch**(`input`, `init?`): `Promise`\<`Response`\>
4426
-
4427
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)
4428
-
4429
- #### Parameters
4430
-
4431
- ##### input
4432
-
4433
- `URL` | `RequestInfo`
4434
-
4435
- ##### init?
4436
-
4437
- `RequestInit`
4438
-
4439
- #### Returns
4440
-
4441
- `Promise`\<`Response`\>
4442
-
4443
- #### Inherited from
4444
-
4445
- `Window.fetch`
4446
-
4447
- ***
4448
-
4449
- ### focus()
4450
-
4451
- > **focus**(): `void`
4452
-
4453
- Makes a request to bring the window to the front.
4454
-
4455
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/focus)
4456
-
4457
- #### Returns
4458
-
4459
- `void`
4460
-
4461
- #### Inherited from
4462
-
4463
- `Window.focus`
4464
-
4465
- ***
4466
-
4467
- ### getComputedStyle()
4468
-
4469
- > **getComputedStyle**(`elt`, `pseudoElt?`): `CSSStyleDeclaration`
4470
-
4471
- The **`Window.getComputedStyle()`** method returns an object containing the values of all CSS properties of an element, after applying active stylesheets and resolving any basic computation those values may contain.
4472
-
4473
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)
4474
-
4475
- #### Parameters
4476
-
4477
- ##### elt
4478
-
4479
- `Element`
4480
-
4481
- ##### pseudoElt?
4482
-
4483
- `string`
4484
-
4485
- #### Returns
4486
-
4487
- `CSSStyleDeclaration`
4488
-
4489
- #### Inherited from
4490
-
4491
- `Window.getComputedStyle`
4492
-
4493
- ***
4494
-
4495
- ### getSelection()
4496
-
4497
- > **getSelection**(): `Selection`
4498
-
4499
- The **`getSelection()`** method of the Window interface returns the Selection object associated with the window's document, representing the range of text selected by the user or the current position of the caret.
4500
-
4501
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getSelection)
4502
-
4503
- #### Returns
4504
-
4505
- `Selection`
4506
-
4507
- #### Inherited from
4508
-
4509
- `Window.getSelection`
4510
-
4511
- ***
4512
-
4513
- ### matchMedia()
4514
-
4515
- > **matchMedia**(`query`): `MediaQueryList`
4516
-
4517
- The Window interface's **`matchMedia()`** method returns a new MediaQueryList object that can then be used to determine if the document matches the media query string, as well as to monitor the document to detect when it matches (or stops matching) that media query.
4518
-
4519
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/matchMedia)
4520
-
4521
- #### Parameters
4522
-
4523
- ##### query
4524
-
4525
- `string`
4526
-
4527
- #### Returns
4528
-
4529
- `MediaQueryList`
4530
-
4531
- #### Inherited from
4532
-
4533
- `Window.matchMedia`
4534
-
4535
- ***
4536
-
4537
- ### moveBy()
4538
-
4539
- > **moveBy**(`x`, `y`): `void`
4540
-
4541
- The **`moveBy()`** method of the Window interface moves the current window by a specified amount.
4542
-
4543
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/moveBy)
4544
-
4545
- #### Parameters
4546
-
4547
- ##### x
4548
-
4549
- `number`
4550
-
4551
- ##### y
4552
-
4553
- `number`
4554
-
4555
- #### Returns
4556
-
4557
- `void`
4558
-
4559
- #### Inherited from
4560
-
4561
- `Window.moveBy`
4562
-
4563
- ***
4564
-
4565
- ### moveTo()
4566
-
4567
- > **moveTo**(`x`, `y`): `void`
4568
-
4569
- The **`moveTo()`** method of the Window interface moves the current window to the specified coordinates.
4570
-
4571
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/moveTo)
4572
-
4573
- #### Parameters
4574
-
4575
- ##### x
4576
-
4577
- `number`
4578
-
4579
- ##### y
4580
-
4581
- `number`
4582
-
4583
- #### Returns
4584
-
4585
- `void`
4586
-
4587
- #### Inherited from
4588
-
4589
- `Window.moveTo`
4590
-
4591
- ***
4592
-
4593
- ### open()
4594
-
4595
- > **open**(`url?`, `target?`, `features?`): `Window`
4596
-
4597
- The **`open()`** method of the `Window` interface loads a specified resource into a new or existing browsing context (that is, a tab, a window, or an iframe) under a specified name.
4598
-
4599
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/open)
4600
-
4601
- #### Parameters
4602
-
4603
- ##### url?
4604
-
4605
- `string` | `URL`
4606
-
4607
- ##### target?
4608
-
4609
- `string`
4610
-
4611
- ##### features?
4612
-
4613
- `string`
4614
-
4615
- #### Returns
4616
-
4617
- `Window`
4618
-
4619
- #### Inherited from
4620
-
4621
- `Window.open`
4622
-
4623
- ***
4624
-
4625
- ### postMessage()
4626
-
4627
- #### Call Signature
4628
-
4629
- > **postMessage**(`message`, `targetOrigin`, `transfer?`): `void`
4630
-
4631
- The **`window.postMessage()`** method safely enables cross-origin communication between Window objects; _e.g.,_ between a page and a pop-up that it spawned, or between a page and an iframe embedded within it.
4632
-
4633
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/postMessage)
4634
-
4635
- ##### Parameters
4636
-
4637
- ###### message
4638
-
4639
- `any`
4640
-
4641
- ###### targetOrigin
4642
-
4643
- `string`
4644
-
4645
- ###### transfer?
4646
-
4647
- `Transferable`[]
4648
-
4649
- ##### Returns
4650
-
4651
- `void`
4652
-
4653
- ##### Inherited from
4654
-
4655
- `Window.postMessage`
4656
-
4657
- #### Call Signature
4658
-
4659
- > **postMessage**(`message`, `options?`): `void`
4660
-
4661
- ##### Parameters
4662
-
4663
- ###### message
4664
-
4665
- `any`
4666
-
4667
- ###### options?
4668
-
4669
- `WindowPostMessageOptions`
4670
-
4671
- ##### Returns
4672
-
4673
- `void`
4674
-
4675
- ##### Inherited from
4676
-
4677
- `Window.postMessage`
4678
-
4679
- ***
4680
-
4681
- ### print()
4682
-
4683
- > **print**(): `void`
4684
-
4685
- Opens the print dialog to print the current document.
4686
-
4687
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/print)
4688
-
4689
- #### Returns
4690
-
4691
- `void`
4692
-
4693
- #### Inherited from
4694
-
4695
- `Window.print`
4696
-
4697
- ***
4698
-
4699
- ### prompt()
4700
-
4701
- > **prompt**(`message?`, `_default?`): `string`
4702
-
4703
- `window.prompt()` instructs the browser to display a dialog with an optional message prompting the user to input some text, and to wait until the user either submits the text or cancels the dialog.
4704
-
4705
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/prompt)
4706
-
4707
- #### Parameters
4708
-
4709
- ##### message?
4710
-
4711
- `string`
4712
-
4713
- ##### \_default?
4714
-
4715
- `string`
4716
-
4717
- #### Returns
4718
-
4719
- `string`
4720
-
4721
- #### Inherited from
4722
-
4723
- `Window.prompt`
4724
-
4725
- ***
4726
-
4727
- ### queueMicrotask()
4728
-
4729
- > **queueMicrotask**(`callback`): `void`
4730
-
4731
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/queueMicrotask)
4732
-
4733
- #### Parameters
4734
-
4735
- ##### callback
4736
-
4737
- `VoidFunction`
4738
-
4739
- #### Returns
4740
-
4741
- `void`
4742
-
4743
- #### Inherited from
4744
-
4745
- `Window.queueMicrotask`
4746
-
4747
- ***
4748
-
4749
- ### ~~releaseEvents()~~
4750
-
4751
- > **releaseEvents**(): `void`
4752
-
4753
- Releases the window from trapping events of a specific type.
4754
-
4755
- #### Returns
4756
-
4757
- `void`
4758
-
4759
- #### Deprecated
4760
-
4761
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/releaseEvents)
4762
-
4763
- #### Inherited from
4764
-
4765
- `Window.releaseEvents`
4766
-
4767
- ***
4768
-
4769
- ### removeEventListener()
4770
-
4771
- #### Call Signature
4772
-
4773
- > **removeEventListener**\<`K`\>(`type`, `listener`, `options?`): `void`
4774
-
4775
- The **`removeEventListener()`** method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
4776
-
4777
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
4778
-
4779
- ##### Type Parameters
4780
-
4781
- ###### K
4782
-
4783
- `K` *extends* keyof `WindowEventMap`
4784
-
4785
- ##### Parameters
4786
-
4787
- ###### type
4788
-
4789
- `K`
4790
-
4791
- ###### listener
4792
-
4793
- (`this`, `ev`) => `any`
4794
-
4795
- ###### options?
4796
-
4797
- `boolean` | `EventListenerOptions`
4798
-
4799
- ##### Returns
4800
-
4801
- `void`
4802
-
4803
- ##### Inherited from
4804
-
4805
- `Window.removeEventListener`
4806
-
4807
- #### Call Signature
4808
-
4809
- > **removeEventListener**(`type`, `listener`, `options?`): `void`
4810
-
4811
- The **`removeEventListener()`** method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
4812
-
4813
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
4814
-
4815
- ##### Parameters
4816
-
4817
- ###### type
4818
-
4819
- `string`
4820
-
4821
- ###### listener
4822
-
4823
- `EventListenerOrEventListenerObject`
4824
-
4825
- ###### options?
4826
-
4827
- `boolean` | `EventListenerOptions`
4828
-
4829
- ##### Returns
4830
-
4831
- `void`
4832
-
4833
- ##### Inherited from
4834
-
4835
- `Window.removeEventListener`
4836
-
4837
- ***
4838
-
4839
- ### reportError()
4840
-
4841
- > **reportError**(`e`): `void`
4842
-
4843
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/reportError)
4844
-
4845
- #### Parameters
4846
-
4847
- ##### e
4848
-
4849
- `any`
4850
-
4851
- #### Returns
4852
-
4853
- `void`
4854
-
4855
- #### Inherited from
4856
-
4857
- `Window.reportError`
4858
-
4859
- ***
4860
-
4861
- ### requestAnimationFrame()
4862
-
4863
- > **requestAnimationFrame**(`callback`): `number`
4864
-
4865
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame)
4866
-
4867
- #### Parameters
4868
-
4869
- ##### callback
4870
-
4871
- `FrameRequestCallback`
4872
-
4873
- #### Returns
4874
-
4875
- `number`
4876
-
4877
- #### Inherited from
4878
-
4879
- `Window.requestAnimationFrame`
4880
-
4881
- ***
4882
-
4883
- ### requestIdleCallback()
4884
-
4885
- > **requestIdleCallback**(`callback`, `options?`): `number`
4886
-
4887
- The **`window.requestIdleCallback()`** method queues a function to be called during a browser's idle periods.
4888
-
4889
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/requestIdleCallback)
4890
-
4891
- #### Parameters
4892
-
4893
- ##### callback
4894
-
4895
- `IdleRequestCallback`
4896
-
4897
- ##### options?
4898
-
4899
- `IdleRequestOptions`
4900
-
4901
- #### Returns
4902
-
4903
- `number`
4904
-
4905
- #### Inherited from
4906
-
4907
- `Window.requestIdleCallback`
4908
-
4909
- ***
4910
-
4911
- ### resizeBy()
4912
-
4913
- > **resizeBy**(`x`, `y`): `void`
4914
-
4915
- The **`Window.resizeBy()`** method resizes the current window by a specified amount.
4916
-
4917
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/resizeBy)
4918
-
4919
- #### Parameters
4920
-
4921
- ##### x
4922
-
4923
- `number`
4924
-
4925
- ##### y
4926
-
4927
- `number`
4928
-
4929
- #### Returns
4930
-
4931
- `void`
4932
-
4933
- #### Inherited from
4934
-
4935
- `Window.resizeBy`
4936
-
4937
- ***
4938
-
4939
- ### resizeTo()
4940
-
4941
- > **resizeTo**(`width`, `height`): `void`
4942
-
4943
- The **`Window.resizeTo()`** method dynamically resizes the window.
4944
-
4945
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/resizeTo)
4946
-
4947
- #### Parameters
4948
-
4949
- ##### width
4950
-
4951
- `number`
4952
-
4953
- ##### height
4954
-
4955
- `number`
4956
-
4957
- #### Returns
4958
-
4959
- `void`
4960
-
4961
- #### Inherited from
4962
-
4963
- `Window.resizeTo`
4964
-
4965
- ***
4966
-
4967
- ### scroll()
4968
-
4969
- #### Call Signature
4970
-
4971
- > **scroll**(`options?`): `void`
4972
-
4973
- The **`Window.scroll()`** method scrolls the window to a particular place in the document.
4974
-
4975
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
4976
-
4977
- ##### Parameters
4978
-
4979
- ###### options?
4980
-
4981
- `ScrollToOptions`
4982
-
4983
- ##### Returns
4984
-
4985
- `void`
4986
-
4987
- ##### Inherited from
4988
-
4989
- `Window.scroll`
4990
-
4991
- #### Call Signature
4992
-
4993
- > **scroll**(`x`, `y`): `void`
4994
-
4995
- ##### Parameters
4996
-
4997
- ###### x
4998
-
4999
- `number`
5000
-
5001
- ###### y
5002
-
5003
- `number`
5004
-
5005
- ##### Returns
5006
-
5007
- `void`
5008
-
5009
- ##### Inherited from
5010
-
5011
- `Window.scroll`
5012
-
5013
- ***
5014
-
5015
- ### scrollBy()
5016
-
5017
- #### Call Signature
5018
-
5019
- > **scrollBy**(`options?`): `void`
5020
-
5021
- The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
5022
-
5023
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
5024
-
5025
- ##### Parameters
5026
-
5027
- ###### options?
5028
-
5029
- `ScrollToOptions`
5030
-
5031
- ##### Returns
5032
-
5033
- `void`
5034
-
5035
- ##### Inherited from
5036
-
5037
- `Window.scrollBy`
5038
-
5039
- #### Call Signature
5040
-
5041
- > **scrollBy**(`x`, `y`): `void`
5042
-
5043
- ##### Parameters
5044
-
5045
- ###### x
5046
-
5047
- `number`
5048
-
5049
- ###### y
5050
-
5051
- `number`
5052
-
5053
- ##### Returns
5054
-
5055
- `void`
5056
-
5057
- ##### Inherited from
5058
-
5059
- `Window.scrollBy`
5060
-
5061
- ***
5062
-
5063
- ### scrollTo()
5064
-
5065
- #### Call Signature
5066
-
5067
- > **scrollTo**(`options?`): `void`
5068
-
5069
- **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
5070
-
5071
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
5072
-
5073
- ##### Parameters
5074
-
5075
- ###### options?
5076
-
5077
- `ScrollToOptions`
5078
-
5079
- ##### Returns
5080
-
5081
- `void`
5082
-
5083
- ##### Inherited from
5084
-
5085
- `Window.scrollTo`
5086
-
5087
- #### Call Signature
5088
-
5089
- > **scrollTo**(`x`, `y`): `void`
5090
-
5091
- ##### Parameters
5092
-
5093
- ###### x
5094
-
5095
- `number`
5096
-
5097
- ###### y
5098
-
5099
- `number`
5100
-
5101
- ##### Returns
5102
-
5103
- `void`
5104
-
5105
- ##### Inherited from
5106
-
5107
- `Window.scrollTo`
5108
-
5109
- ***
5110
-
5111
- ### setInterval()
5112
-
5113
- > **setInterval**(`handler`, `timeout?`, ...`arguments?`): `number`
5114
-
5115
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setInterval)
5116
-
5117
- #### Parameters
5118
-
5119
- ##### handler
5120
-
5121
- `TimerHandler`
5122
-
5123
- ##### timeout?
5124
-
5125
- `number`
5126
-
5127
- ##### arguments?
5128
-
5129
- ...`any`[]
5130
-
5131
- #### Returns
5132
-
5133
- `number`
5134
-
5135
- #### Inherited from
5136
-
5137
- `Window.setInterval`
5138
-
5139
- ***
5140
-
5141
- ### setTimeout()
5142
-
5143
- > **setTimeout**(`handler`, `timeout?`, ...`arguments?`): `number`
5144
-
5145
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setTimeout)
5146
-
5147
- #### Parameters
5148
-
5149
- ##### handler
5150
-
5151
- `TimerHandler`
5152
-
5153
- ##### timeout?
5154
-
5155
- `number`
5156
-
5157
- ##### arguments?
5158
-
5159
- ...`any`[]
5160
-
5161
- #### Returns
5162
-
5163
- `number`
5164
-
5165
- #### Inherited from
5166
-
5167
- `Window.setTimeout`
5168
-
5169
- ***
5170
-
5171
- ### stop()
5172
-
5173
- > **stop**(): `void`
5174
-
5175
- The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
5176
-
5177
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/stop)
5178
-
5179
- #### Returns
5180
-
5181
- `void`
5182
-
5183
- #### Inherited from
5184
-
5185
- `Window.stop`
5186
-
5187
- ***
5188
-
5189
- ### structuredClone()
5190
-
5191
- > **structuredClone**\<`T`\>(`value`, `options?`): `T`
5192
-
5193
- [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/structuredClone)
5194
-
5195
- #### Type Parameters
5196
-
5197
- ##### T
5198
-
5199
- `T` = `any`
5200
-
5201
- #### Parameters
5202
-
5203
- ##### value
5204
-
5205
- `T`
5206
-
5207
- ##### options?
5208
-
5209
- `StructuredSerializeOptions`
5210
-
5211
- #### Returns
5212
-
5213
- `T`
5214
-
5215
- #### Inherited from
5216
-
5217
- `Window.structuredClone`