interface SliderOptions
implements ComponentOptions
import { type SliderOptions } from "https://deno.land/x/tui@2.1.11/src/components/mod.ts";
Properties
min: number | Signal<number>
max: number | Signal<number>
step: number | Signal<number>
value: number | Signal<number>
adjustThumbSize: boolean | Signal<boolean>
When false thumb will be 1 cell wide/high.
If this is set to true, thumb size will adjust so it takes as much space as it can so it looks more natural to interact with.
Basically when set to true it'll make slider thumb work just like in browsers.
orientation: SliderOrientation | Signal<SliderOrientation>
theme: DeepPartial<SliderTheme, "thumb">