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/virtual_dom.ui_effect/Ui_effect/Expert/index.html

Module Ui_effect.ExpertSource

Sourceval eval : 'a t -> f:('a -> Base.unit) -> Base.unit

eval t ~f runs the given effect, and calls f when the effect completes. This function should not be called while constructing effects; it's intended for use by libraries that actually schedule effects, such as Bonsai, or Virtual_dom.

Sourceval handle : Base.unit t -> Base.unit

handle t is the same as eval t ~f:ignore

Sourcetype hide =
  1. | T : ('a t * ('a -> Base.unit)) -> hide
Sourceval of_fun : f:(callback:('a -> Base.unit) -> Base.unit) -> 'a t
OCaml

Innovation. Community. Security.