Module Scroll.Scrollable

type t = {
adj : Adjustment.t;
mutable scroll_window_size : Hardcaml_waveterm_interactive__.Import.int;
mutable scroll_bar_mode : Scroll_bar_mode.t;
mutable min_scroll_bar_size : Hardcaml_waveterm_interactive__.Import.int Hardcaml_waveterm_interactive__.Import.option;
mutable max_scroll_bar_size : Hardcaml_waveterm_interactive__.Import.int Hardcaml_waveterm_interactive__.Import.option;
mutable scroll_bar_size : Hardcaml_waveterm_interactive__.Import.int;
mutable scroll_bar_offset : Hardcaml_waveterm_interactive__.Import.int;
mutable mouse_mode : Mouse_mode.t;
mutable page_size : Hardcaml_waveterm_interactive__.Import.int;
mutable document_size : Hardcaml_waveterm_interactive__.Import.int;
mutable on_scrollbar_change : Hardcaml_waveterm_interactive__.Import.unit -> Hardcaml_waveterm_interactive__.Import.unit;
}
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val set_range : ?⁠trigger_callback:Hardcaml_waveterm_interactive__.Import.bool -> t -> Hardcaml_waveterm_interactive__.Import.int -> Hardcaml_waveterm_interactive__.Import.unit
val set_offset : ?⁠trigger_callback:Hardcaml_waveterm_interactive__.Import.bool -> t -> Hardcaml_waveterm_interactive__.Import.int -> Hardcaml_waveterm_interactive__.Import.unit