W3cubDocs

/Kotlin

Package kotlin.browser

Platform and version requirements: JS

Access to top-level properties (document, window etc.) in the browser environment.

Properties

document

external val document: Document

localStorage

external val localStorage: Storage

sessionStorage

external val sessionStorage: Storage

window

external val window: Window

© 2010–2018 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.browser/index.html