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
val compare : t -> t -> int
include Ppx_sexp_conv_lib.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