Hey, after updating to Kotlin 2.1.x I can no longer use DocumentVisibilityState in the kotlin wasmJs target. Even with the kotlinx browser dependency. How do I access the document visibility state
i
Igor Yakovlev
05/26/2025, 6:44 PM
Hi, I do not see that we ever supported this class in Kotlin/WasmJS nor kotlinx.browser. Are you sure that is was not Kotlin/JS? Anyway full support for DOM API is not our priority for now but you can always add this API using WasmJS interop.