File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
kotlin-browser/src/commonMain/generated/web Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ open external class Document :
254
254
/* *
255
255
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/visibilitychange_event)
256
256
*/
257
- var onvisibilitychange: EventHandler <Event , Document , Document >?
257
+ var onvisibilitychange: EventHandler <Event , Document , Window >?
258
258
259
259
@Suppress(" WRONG_JS_INTEROP_TYPE" )
260
260
override val ownerDocument: Void
@@ -1069,7 +1069,7 @@ open external class Document :
1069
1069
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/visibilitychange_event)
1070
1070
*/
1071
1071
@JsEvent(" visibilitychange" )
1072
- val visibilityChangeEvent: EventInstance <Event , Document / * this * / , Document / * this * / >
1072
+ val visibilityChangeEvent: EventInstance <Event , Document / * this * / , Window >
1073
1073
1074
1074
/* *
1075
1075
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/wheel_event)
Original file line number Diff line number Diff line change @@ -935,6 +935,12 @@ private constructor() :
935
935
@JsEvent(" unload" )
936
936
val unloadEvent: EventInstance <Event , Window / * this * / , Window / * this * / >
937
937
938
+ /* *
939
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/visibilitychange_event)
940
+ */
941
+ @JsEvent(" visibilitychange" )
942
+ val visibilityChangeEvent: EventInstance <Event , Window / * this * / , Window >
943
+
938
944
/* *
939
945
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/wheel_event)
940
946
*/
You can’t perform that action at this time.
0 commit comments