CaretPosition

CaretPosition

package js-html

Available on js

The CaretPosition interface represents the caret postion, an indicator for the text insertion point. You can get a CaretPosition using the document.caretPositionFromPoint method.

Documentation CaretPosition by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

read only offset:Int

Returns a long representing the character offset in the caret position node.

read only offsetNode:Node

Returns a Node containing the found node at the caret's position.

Methods

getClientRect ():DOMRect

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/CaretPosition.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部