package virtual_dom

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

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=812711b4d5ce634a413580cd7096482de8d71abec9ae37bb01f7c0dcec2968ec

doc/src/virtual_dom/virtual_dom.ml.html

Source file virtual_dom.ml

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

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.