package virtual_dom

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = [
  1. | `Raw of string
  2. | `Ch of float
  3. | `Rem of float
  4. | `Em of int
  5. | `Em_float of float
  6. | `Percent of Core.Percent.t
  7. | `Pt of float
  8. | `Px of int
  9. | `Px_float of float
  10. | `Vh of Core.Percent.t
  11. | `Vw of Core.Percent.t
  12. | css_global_values
]
val sexp_of_t : t -> Sexplib0.Sexp.t
val t_of_sexp : Sexplib0.Sexp.t -> t
val __t_of_sexp__ : Sexplib0.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.