package virtual_dom

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

Install

Dune Dependency

Authors

Maintainers

Sources

virtual_dom-v0.12.0.tar.gz
sha256=81444d2a97812b09c445e4d1c09ad9466e40a7886699b0d50fe1341a7eb9c7c5
md5=14d8f77f5119c9c88054675586173f49

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.