package incr_dom

  1. Overview
  2. Docs
type ('state, 'model, 'action) snapshot = {
  1. view : Virtual_dom.Vdom.Node.t;
  2. apply_action : 'state -> schedule_event:(unit Ui_effect.t -> unit) -> 'model -> 'action -> 'model;
  3. update_visibility : 'model -> schedule_event:(unit Ui_effect.t -> unit) -> 'model;
  4. on_display : 'state -> schedule_event:(unit Ui_effect.t -> unit) -> unit;
}
module type S_for_bonsai = sig ... end
OCaml

Innovation. Community. Security.