package virtual_dom

  1. Overview
  2. Docs
OCaml bindings for the virtual-dom library

Install

Dune Dependency

Authors

Maintainers

Sources

virtual_dom-v0.13.0.tar.gz
sha256=60079d1a4a4a71f97631d97560047d3ff38ff439dc126ad1b1d0b391daeda249
md5=ef2c93a9bd968b44e09fee501f853a2d

doc/virtual_dom.css_gen/Css_gen/Length/index.html

Module Css_gen.Length

type t = [
  1. | `Ch of float
  2. | `Rem of float
  3. | `Em of int
  4. | `Percent of Core_kernel.Percent.t
  5. | `Pt of float
  6. | `Px of int
  7. | `Vh of Core_kernel.Percent.t
  8. | `Vw of Core_kernel.Percent.t
  9. | css_global_values
]
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val t_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> t
val __t_of_sexp__ : Ppx_sexp_conv_lib.Sexp.t -> t
val compare : t -> t -> int
val percent100 : t

Convenience around `Percent (Percent.of_percentage 100.)

val to_string_css : t -> string
OCaml

Innovation. Community. Security.