bonsai

A library for building dynamic webapps, using Js_of_ocaml
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library bonsai.test
Module Bonsai_test . Arrow . Driver
type ('i, 'r) t
val create : ?initial_model_sexp:Core.Sexp.t -> clock:Ui_incr.Clock.t -> initial_input:'i -> ( 'i, 'r ) Bonsai.Arrow_deprecated.t -> ( 'i, 'r ) t
val set_input : ( 'i, _ ) t -> 'i -> unit
val flush : ( _, _ ) t -> unit

Apply all pending actions and stabilize the incremental graph, updating result.

val schedule_event : ( _, _ ) t -> unit Ui_effect.t -> unit
val result : ( _, 'r ) t -> 'r
val last_view : ( _, _ ) t -> string
val store_view : ( _, _ ) t -> string -> unit
val trigger_lifecycles : ( _, _ ) t -> unit
val has_after_display_events : ( _, _ ) t -> bool
val disable_bonsai_path_censoring : ( _, _ ) t -> unit
val should_censor_bonsai_path : ( _, _ ) t -> bool
val disable_bonsai_hash_censoring : ( _, _ ) t -> unit
val should_censor_bonsai_hash : ( _, _ ) t -> bool
val sexp_of_model : ( _, _ ) t -> Core.Sexp.t
val input : ( 'i, _ ) t -> 'i
val result_incr : ( _, 'r ) t -> 'r Ui_incr.t
val lifecycle_incr : ( _, _ ) t -> Ui_incr.Packed.t
val apply_action_incr : ( _, _ ) t -> Ui_incr.Packed.t
val clock : ( _, _ ) t -> Ui_incr.Clock.t
val invalidate_observers : ( _, _ ) t -> unit
val reset_model_to_default : ( _, _ ) t -> unit