package eio-trace
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type t = {
mutable layout : Layout.t;
mutable width : float;
mutable height : float;
mutable start_time : float;
mutable scroll_y : float;
mutable pixels_per_ns : float;
mutable zoom : float;
}
val x_of_time : t -> float -> float
val time_of_x : t -> float -> float
val width_of_timespan : t -> float -> float
val timespan_of_width : t -> float -> float
val grid : t -> float -> float * float * float
val zoom_to : t -> float -> unit
val zoom : t -> float -> unit
val set_duration : t -> float -> unit
val get_duration : t -> float
val zoom_to_fit : ?start_time:float -> ?duration:float -> t -> unit
val max_x_scroll : t -> float
val max_y_scroll : t -> float
val scroll_bounds :
t ->
(float * float * float * float) * (float * float * float * float)
val set_start_time : t -> float -> float
val set_scroll_y : t -> float -> float
val set_size : t -> float -> float -> unit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>