The CaretPosition interface represents the caret position, an
for the text insertion point. You can get a CaretPosition using
document.caretPositionFromPoint
method.
The CaretPosition interface represents the caret position, an for the text insertion point. You can get a CaretPosition using `document.caretPositionFromPoint` method.
(offset this)
Property.
Returns a long representing the character offset in the caret node.
Property. Returns a long representing the character offset in the caret node.
(offset-node this)
Property.
Returns a Node containing the found node at the caret's position.
Property. Returns a Node containing the found node at the caret's position.
(set-offset! this val)
Property.
Returns a long representing the character offset in the caret node.
Property. Returns a long representing the character offset in the caret node.
(set-offset-node! this val)
Property.
Returns a Node containing the found node at the caret's position.
Property. Returns a Node containing the found node at the caret's position.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close