`method anchorNode : Js_of_ocaml__.Dom.node Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt Js_of_ocaml__.Js.readonly_prop`
`method anchorOffset : int Js_of_ocaml__.Js.readonly_prop`
`method focusNode : Js_of_ocaml__.Dom.node Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt Js_of_ocaml__.Js.readonly_prop`
`method focusOffset : int Js_of_ocaml__.Js.readonly_prop`
`method isCollapsed : bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.readonly_prop`
`method rangeCount : int Js_of_ocaml__.Js.readonly_prop`
`method _type : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.readonly_prop`

`"None"`, `"Caret"` or `"Range"`.

`method getRangeAt : int -> range Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth`
`method collapse : Js_of_ocaml__.Dom.node Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt -> unit Js_of_ocaml__.Js.meth`
`method collapse_offset : Js_of_ocaml__.Dom.node Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt -> int -> unit Js_of_ocaml__.Js.meth`
`method setPosition : Js_of_ocaml__.Dom.node Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt -> unit Js_of_ocaml__.Js.meth`
`method setPosition_offset : Js_of_ocaml__.Dom.node Js_of_ocaml__.Js.t Js_of_ocaml__.Js.opt -> int -> unit Js_of_ocaml__.Js.meth`
`method setBaseAndExtent : Js_of_ocaml__.Dom.node Js_of_ocaml__.Js.t -> int -> Js_of_ocaml__.Dom.node Js_of_ocaml__.Js.t -> int -> unit Js_of_ocaml__.Js.meth`
`method extend : Js_of_ocaml__.Dom.node Js_of_ocaml__.Js.t -> int -> unit Js_of_ocaml__.Js.meth`
`method modify : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t -> Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t -> Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t -> unit Js_of_ocaml__.Js.meth`
`method collapseToStart : unit Js_of_ocaml__.Js.meth`
`method collapseToEnd : unit Js_of_ocaml__.Js.meth`
`method selectAllChildren : Js_of_ocaml__.Dom.node Js_of_ocaml__.Js.t -> unit Js_of_ocaml__.Js.meth`
`method addRange : range Js_of_ocaml__.Js.t -> unit Js_of_ocaml__.Js.meth`
`method removeRange : range Js_of_ocaml__.Js.t -> unit Js_of_ocaml__.Js.meth`
`method removeAllRanges : unit Js_of_ocaml__.Js.meth`
`method deleteFromDocument : unit Js_of_ocaml__.Js.meth`
`method containsNode : Js_of_ocaml__.Dom.node Js_of_ocaml__.Js.t -> bool Js_of_ocaml__.Js.t -> bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth`
`method toString : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth`