package js.html
Available on jsThe
CaretPositioninterface represents the caret postion, an indicator for the text insertion point. You can get aCaretPositionusing thedocument.caretPositionFromPointmethod.Documentation CaretPosition by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
read only offset:IntReturns a long representing the character offset in the caret position node.
read only offsetNode:NodeReturns a Node containing the found node at the caret's position.
getClientRect ():DOMRect
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/CaretPosition.html