package virtual_dom_toplayer

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
val sexp_of_t : t -> Sexplib0.Sexp.t

An element in the dom relative to which the floating element will be positioned.

val of_bounding_box : top:float -> left:float -> bottom:float -> right:float -> t

top, bottom, and left, right are the # of pixels down and right from the top left corner to form the (top, bottom), and (left, right) borders of the virtual bounding box.

val of_coordinate : x:float -> y:float -> t

x and y are the # of pixels right/down from the top left corner.

OCaml

Innovation. Community. Security.