Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The CaretPosition
interface represents the caret position, an indicator for the text insertion point. You can get a CaretPosition
using the Document.caretPositionFromPoint()
method.