← Docs
kotlin-stdlib / kotlin.browser

Package kotlin.browser

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

Properties

JS
1.1

document

val document : Document
JS
1.1

localStorage

val localStorage : Storage
JS
1.1

sessionStorage

val sessionStorage : Storage
JS
1.1

window

val window : Window
Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .