package server-reason-react

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = Dom.selection
val anchorNode : t -> Dom.node option
val anchorOffset : t -> int
val focusNode : t -> Dom.node option
val focusOffset : t -> int
val isCollapsed : t -> bool
val rangeCount : t -> int
val getRangeAt : int -> t -> Dom.range
val collapse : 'a Dom.node_like -> int -> t -> unit
val extend : 'a Dom.node_like -> int -> t -> unit
val collapseToStart : unit -> t
val collapseToEnd : unit -> t
val selectAllChildren : 'a Dom.node_like -> t -> unit
val setBaseAndExtent : 'a Dom.node_like -> int -> 'b Dom.node_like -> int -> t -> unit
val addRange : Dom.range -> t -> unit
val removeRange : Dom.range -> t -> unit
val removeAllRanges : unit -> t
val deleteFromDocument : unit -> t
val toString : string -> t
val containsNode : 'a Dom.node_like -> 'b -> t -> bool
val containsNodePartly : 'a Dom.node_like -> 'b -> t -> bool
OCaml

Innovation. Community. Security.