← Docs
kotlin-stdlib / org.w3c.dom / CaretPosition

CaretPosition

JS
1.1
abstract class CaretPosition
(source)

Exposes the JavaScript CaretPosition to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript CaretPosition to Kotlin

CaretPosition ( )

Properties

JS
1.1

offset

open val offset : Int
JS
1.1

offsetNode

open val offsetNode : Node

Functions

JS
1.1

getClientRect

fun getClientRect ( ) : DOMRect ?
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 .