Class type Dom_html.selection
Information on current selection
method anchorNode : Js_of_ocaml.Dom.node Js_of_ocaml.Js.t Js_of_ocaml.Js.readonly_propmethod anchorOffset : int Js_of_ocaml.Js.readonly_propmethod focusNode : Js_of_ocaml.Dom.node Js_of_ocaml.Js.t Js_of_ocaml.Js.readonly_propmethod focusOffset : int Js_of_ocaml.Js.readonly_propmethod isCollapsed : bool Js_of_ocaml.Js.t Js_of_ocaml.Js.readonly_propmethod rangeCount : int Js_of_ocaml.Js.readonly_propmethod getRangeAt : int -> range Js_of_ocaml.Js.t Js_of_ocaml.Js.methmethod collapse : bool Js_of_ocaml.Js.t -> unit Js_of_ocaml.Js.methmethod extend : Js_of_ocaml.Dom.node Js_of_ocaml.Js.t -> int -> unit Js_of_ocaml.Js.methmethod 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.methmethod collapseToStart : unit Js_of_ocaml.Js.methmethod collapseToEnd : unit Js_of_ocaml.Js.methmethod selectAllChildren : Js_of_ocaml.Dom.node Js_of_ocaml.Js.t -> unit Js_of_ocaml.Js.methmethod addRange : range Js_of_ocaml.Js.t -> unit Js_of_ocaml.Js.methmethod removeRange : range Js_of_ocaml.Js.t -> unit Js_of_ocaml.Js.methmethod removeAllRanges : unit Js_of_ocaml.Js.methmethod deleteFromDocument : unit Js_of_ocaml.Js.methmethod 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.methmethod toString : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.meth