package bonsai

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val iter : t -> view: ((t, Bonsai_web.Vdom.Node.t) Fieldslib.Field.t -> t -> Bonsai_web.Vdom.Node.t -> unit) -> view_for_testing: ((t, string Core.Lazy.t) Fieldslib.Field.t -> t -> string Core.Lazy.t -> unit) -> key_handler: ((t, Vdom_keyboard.Keyboard_event_handler.t) Fieldslib.Field.t -> t -> Vdom_keyboard.Keyboard_event_handler.t -> unit) -> inject: ((t, Action.t -> unit Bonsai_web.Vdom.Effect.t) Fieldslib.Field.t -> t -> (Action.t -> unit Bonsai_web.Vdom.Effect.t) -> unit) -> selection: ((t, Item.Set.t Key.Map.t) Fieldslib.Field.t -> t -> Item.Set.t Key.Map.t -> unit) -> unit
val fold : t -> init:'acc__0 -> view: ('acc__0 -> (t, Bonsai_web.Vdom.Node.t) Fieldslib.Field.t -> t -> Bonsai_web.Vdom.Node.t -> 'acc__1) -> view_for_testing: ('acc__1 -> (t, string Core.Lazy.t) Fieldslib.Field.t -> t -> string Core.Lazy.t -> 'acc__2) -> key_handler: ('acc__2 -> (t, Vdom_keyboard.Keyboard_event_handler.t) Fieldslib.Field.t -> t -> Vdom_keyboard.Keyboard_event_handler.t -> 'acc__3) -> inject: ('acc__3 -> (t, Action.t -> unit Bonsai_web.Vdom.Effect.t) Fieldslib.Field.t -> t -> (Action.t -> unit Bonsai_web.Vdom.Effect.t) -> 'acc__4) -> selection: ('acc__4 -> (t, Item.Set.t Key.Map.t) Fieldslib.Field.t -> t -> Item.Set.t Key.Map.t -> 'acc__5) -> 'acc__5
val for_all : t -> view: ((t, Bonsai_web.Vdom.Node.t) Fieldslib.Field.t -> t -> Bonsai_web.Vdom.Node.t -> bool) -> view_for_testing: ((t, string Core.Lazy.t) Fieldslib.Field.t -> t -> string Core.Lazy.t -> bool) -> key_handler: ((t, Vdom_keyboard.Keyboard_event_handler.t) Fieldslib.Field.t -> t -> Vdom_keyboard.Keyboard_event_handler.t -> bool) -> inject: ((t, Action.t -> unit Bonsai_web.Vdom.Effect.t) Fieldslib.Field.t -> t -> (Action.t -> unit Bonsai_web.Vdom.Effect.t) -> bool) -> selection: ((t, Item.Set.t Key.Map.t) Fieldslib.Field.t -> t -> Item.Set.t Key.Map.t -> bool) -> bool
val exists : t -> view: ((t, Bonsai_web.Vdom.Node.t) Fieldslib.Field.t -> t -> Bonsai_web.Vdom.Node.t -> bool) -> view_for_testing: ((t, string Core.Lazy.t) Fieldslib.Field.t -> t -> string Core.Lazy.t -> bool) -> key_handler: ((t, Vdom_keyboard.Keyboard_event_handler.t) Fieldslib.Field.t -> t -> Vdom_keyboard.Keyboard_event_handler.t -> bool) -> inject: ((t, Action.t -> unit Bonsai_web.Vdom.Effect.t) Fieldslib.Field.t -> t -> (Action.t -> unit Bonsai_web.Vdom.Effect.t) -> bool) -> selection: ((t, Item.Set.t Key.Map.t) Fieldslib.Field.t -> t -> Item.Set.t Key.Map.t -> bool) -> bool
val to_list : t -> view: ((t, Bonsai_web.Vdom.Node.t) Fieldslib.Field.t -> t -> Bonsai_web.Vdom.Node.t -> 'elem__) -> view_for_testing: ((t, string Core.Lazy.t) Fieldslib.Field.t -> t -> string Core.Lazy.t -> 'elem__) -> key_handler: ((t, Vdom_keyboard.Keyboard_event_handler.t) Fieldslib.Field.t -> t -> Vdom_keyboard.Keyboard_event_handler.t -> 'elem__) -> inject: ((t, Action.t -> unit Bonsai_web.Vdom.Effect.t) Fieldslib.Field.t -> t -> (Action.t -> unit Bonsai_web.Vdom.Effect.t) -> 'elem__) -> selection: ((t, Item.Set.t Key.Map.t) Fieldslib.Field.t -> t -> Item.Set.t Key.Map.t -> 'elem__) -> 'elem__ list
val set_all_mutable_fields : t -> unit