eygraber
02/02/2024, 2:49 AMdocument.visibilityState?Artem Kobzar
02/02/2024, 10:46 AMwindow should have this property, but not document. But, kotlin-wrappers [does](https://github.com/JetBrains/kotlin-wrappers/blob/650c3828d4a0e34f15b6a1cee10872af[…]4dc24f0/kotlin-browser/src/jsMain/generated/web/dom/Document.kt). So you can add it into your dependency and consume the modern DOM APIturansky
02/02/2024, 11:12 AMkotlin-browser