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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |