package bonsai

  1. Overview
  2. Docs
A library for building dynamic webapps, using Js_of_ocaml

Install

Dune Dependency

Authors

Maintainers

Sources

bonsai-v0.16.0.tar.gz
sha256=1d68aab713659951eba5b85f21d6f9382e0efa8579a02c3be65d9071c6e86303

doc/bonsai.vdom_node_with_map_children/Vdom_node_with_map_children/index.html

Module Vdom_node_with_map_childrenSource

Sourceval make : tag:string -> ?attr:Bonsai_web.Vdom.Attr.t -> (_, Bonsai_web.Vdom.Node.t, _) Core.Map.t -> Bonsai_web.Vdom.Node.t

When given a map of vdom nodes, this function will wrap them in an element whose tag is determined by the first argument, and efficiently diff them against new nodes in the future that were created by this function.

OCaml

Innovation. Community. Security.