Bonsai_web_ui_extendymodule Id : sig ... endval component :
(Bonsai_web.Bonsai.graph @ local -> 'a Bonsai_web.Bonsai.t) ->
Bonsai_web.Bonsai.graph @ local ->
'a t Bonsai_web.Bonsai.tGiven a computation, builds a new computation that can hold a dynamic number of the wrapped computation.
val component' :
(Bonsai_web.Bonsai.graph @ local -> 'a Bonsai_web.Bonsai.t) ->
wrap_remove:('a -> unit Bonsai_web.Effect.t -> 'b) ->
Bonsai_web.Bonsai.graph @ local ->
'b t Bonsai_web.Bonsai.tLike component, but with the power to extend the result of the input component with an event that removes itself.