package virtual_dom_toplayer

  1. Overview
  2. Docs
OCaml bindings for the floating positioning library for 'toplevel' virtual dom components

Install

dune-project
 Dependency

Authors

Maintainers

Sources

virtual_dom_toplayer-v0.17.0.tar.gz
sha256=b525b0ba3607f142d417fe6edf1a08dbed86ae4e817680fb9bc191959b7a3aea

doc/virtual_dom_toplayer.floating_positioning/Floating_positioning_new/Offset/index.html

Module Floating_positioning_new.OffsetSource

Sourcetype t = {
  1. main_axis : float;
  2. cross_axis : float;
}

Allows controlling how far the floating element is positioned away from the anchor. Usually, you don't want to set cross_axis.

include Sexplib0.Sexpable.S with type t := t
Sourceval t_of_sexp : Sexplib0.Sexp.t -> t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval t_sexp_grammar : t Sexplib0.Sexp_grammar.t
include Ppx_compare_lib.Equal.S with type t := t
Sourceval equal : t -> t -> bool
include Ppx_compare_lib.Comparable.S with type t := t
Sourceval compare : t -> t -> int
Sourceval zero : t

Apply no offset.