package js_of_ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Information on current selection

method anchorNode : Js_of_ocaml__.Dom.node Js_of_ocaml__.Js.t 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.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 getRangeAt : int -> range Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method collapse : bool Js_of_ocaml__.Js.t -> 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
OCaml

Innovation. Community. Security.