package mosaic

  1. Overview
  2. Docs

Module Slider.Props

type t

Declarative property bundle for reconciler diffing. Callbacks are not part of props; set them via set_on_change.

val make : ?orientation:orientation -> ?value:float -> ?min:float -> ?max:float -> ?viewport_size:float -> ?track_color:Ansi.Color.t -> ?thumb_color:Ansi.Color.t -> unit -> t

make () is a property set. Defaults match create.

val default : t

default is make ().

val equal : t -> t -> bool

equal a b is true iff a and b describe identical visual properties.