package js_of_ocaml

  1. Overview
  2. Docs
Module type
Class type

This module contains a few types and values to ease the use of CSS properties and such. If you think a feature is missing, consider sending a patch or an RFE to the mailing list.

This module contain submodules each with a signature similar to:

type t            (* type the module is focused on *)
type js_t         (* valid js representation of values of type t *)
val js: t -> js_t (* conversion *)
val ml: js_t -> t (* conversion *)

Additional functions (string conversion, standard operation, etc.) are sometime available. Some module have several different types instead of just one.

module Color : sig ... end

All about CSS colors. MDC documentation here: . Specifications here: .

module Length : sig ... end
module Angle : sig ... end

Innovation. Community. Security.