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