package bonsai

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Bonsai_web_ui_partial_render_table.Focus_by_rowSource

Sourcetype ('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.

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