W3cubDocs

/Kotlin

Package kotlin.browser

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

Properties

Platform and version requirements: JS (1.1)

document

val document: Document
Platform and version requirements: JS (1.1)

localStorage

val localStorage: Storage
Platform and version requirements: JS (1.1)

sessionStorage

val sessionStorage: Storage
Platform and version requirements: JS (1.1)

window

val window: Window

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