package virtual_dom

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

Install

Dune Dependency

Authors

Maintainers

Sources

v0.15.1.tar.gz
sha256=7f1fa83287458114c5b0cab8aae00d69972d15e1d20a446ce13f246aacef3216

doc/src/virtual_dom/virtual_dom.ml.html

Source file virtual_dom.ml

1
2
3
4
5
6
7
8
9
10
module Vdom = Vdom
module Dom_float = Dom_float

module Top_level_effects = struct
  let () =
    (* use the native-javascript implementation of float -> string with a fixed number of
       numbers after the decimal place. *)
    Css_gen.Private.float_to_string_with_fixed := Dom_float.to_string_fixed
  ;;
end
OCaml

Innovation. Community. Security.