Liking cljdoc? Tell your friends :D

web.cssdom.CaretPosition

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.
raw docstring

offsetcljs

(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.
sourceraw docstring

offset-nodecljs

(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.
sourceraw docstring

set-offset!cljs

(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.
sourceraw docstring

set-offset-node!cljs

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close