package bonsai
Module Expert.FocusSource
Source
type ('a, 'p, 'k) t = | None : (unit, unit, 'k) t| By_row : {on_change : ('k option -> unit Bonsai_web.Effect.t) Bonsai_web.Value.t;(*Row-selection is not required to be inside the viewport, so the selected row can be offscreen such that it isn't given to the table component.
*)compute_presenceforces the user to consider if a row is considered 'focused' or not.compute_presence : 'k option Bonsai_web.Value.t -> 'p Bonsai_web.Computation.t;
} -> (('k, 'p) Focus_by_row.t, 'p, 'k) t