package bonsai

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type ('k, 'presence) t = {
  1. focused : 'presence;
  2. unfocus : unit Bonsai_web.Effect.t;
  3. focus_up : unit Bonsai_web.Effect.t;
  4. focus_down : unit Bonsai_web.Effect.t;
  5. page_up : unit Bonsai_web.Effect.t;
  6. page_down : unit Bonsai_web.Effect.t;
  7. focus : 'k -> unit Bonsai_web.Effect.t;
  8. focus_index : int -> unit Bonsai_web.Effect.t;
    (*

    focus_index n sets the focus to the nth row from the top of the entire table. The first row is 0, the second is 1, and so on.

    *)
}
val focus_index : ('k, 'presence) t -> int -> unit Bonsai_web.Effect.t
val focus : ('k, 'presence) t -> 'k -> unit Bonsai_web.Effect.t
val page_down : ('k, 'presence) t -> unit Bonsai_web.Effect.t
val page_up : ('k, 'presence) t -> unit Bonsai_web.Effect.t
val focus_down : ('k, 'presence) t -> unit Bonsai_web.Effect.t
val focus_up : ('k, 'presence) t -> unit Bonsai_web.Effect.t
val unfocus : ('k, 'presence) t -> unit Bonsai_web.Effect.t
val focused : ('k, 'presence) t -> 'presence
module Fields : sig ... end
type 'k optional = ('k, 'k option) t
OCaml

Innovation. Community. Security.