Kodemirror
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kodemirror
view
/
com.monkopedia.kodemirror.view
/
EditorSession
/
coordsAtPos
coords
At
Pos
abstract
fun
coordsAtPos
(
pos
:
Int
,
side
:
Int
=
1
)
:
Rect
?
Get the document coordinates of a position. Returns null when outside the viewport.