caretPositionFromPoint
fun caretPositionFromPoint(x: Double, y: Double, options: CaretPositionFromPointOptions = definedExternally): CaretPosition?(source)
The caretPositionFromPoint()
method of the Document interface returns a CaretPosition object, containing the DOM node, along with the caret and caret's character offset within that node.