v1.9.21
  • Solutions
    • Multiplatform
    • Server-side
    • Data science
    • Android
  • Docs
  • Community
  • Teach
  • Play
    • Playground
    • Examples
    • Koans
← 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
Kotlin™ is protected under the Kotlin Foundation and licensed under the Apache 2 license.
Supported and developed by JetBrains