package js_of_ocaml

  1. Overview
  2. Docs
Compiler from OCaml bytecode to JavaScript

Install

dune-project
 Dependency

Authors

Maintainers

Sources

js_of_ocaml-5.7.0.tbz
sha256=cdf1dea0d9397a498b630abe8014908b6dd83b10ee0c7ff5777a6443a62983be
sha512=5cf7d883c97f4b81ab73687c8f29b624acaef28c002b5d739108954973671dd5fb4f869d8fedb485b4b17bc8aa10d8b55b30ae7ace21a9350c2a1ac59b28eb60

doc/js_of_ocaml/Js_of_ocaml/CSS/index.html

Module Js_of_ocaml.CSSSource

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.

Sourcemodule Color : sig ... end

All about CSS colors. MDC documentation here: https://developer.mozilla.org/en/CSS/color_value . Specifications here: http://www.w3.org/TR/css3-color/#svg-color .

Sourcemodule Length : sig ... end
Sourcemodule Angle : sig ... end