package incr_dom_partial_render

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t =
  1. | None
  2. | Edge
  3. | Px_from_edge of int
include Ppx_compare_lib.Comparable.S with type t := t
val compare : t Base__Ppx_compare_lib.compare
include Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0__.Sexp.t -> t
val sexp_of_t : t -> Sexplib0__.Sexp.t
val compute_offset : t -> get_float_elem_size:(unit -> float option) -> float

compute_offset computes the extra offset from the edge of the viewport created by having a floating element (header or first column). get_float_elem_size is a function that measures the relevant size of the floating element if applicable (height for floating header, width for floating first column).

val is_floating : t -> bool
val px_from_edge : t -> int option
OCaml

Innovation. Community. Security.