ColorSliderOptions
import type { ColorSliderOptions } from 'pixi-silk/ui/color';
Options of ColorSlider.
Extends#
Properties#
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
channel | ColorChannel | The channel this track edits. | - | ui/color/ColorSlider.ts:21 |
height? | number | Track thickness in local units. Default 18. | - | ui/color/ColorSlider.ts:25 |
model? | ColorModel | The colour to edit. Pickers sharing a model stay in sync. Default: a new model. | ColorPickerOptions.model | ui/color/ColorPicker.ts:13 |
orientation? | "horizontal" | "vertical" | vertical runs bottom (0) to top (1). Default horizontal. | - | ui/color/ColorSlider.ts:27 |
profiles? | Partial<Record<InputKind, Partial<InputProfile>>> | Per pointer kind overrides. Touch gets bigger handles through the profile’s scale. | ColorPickerOptions.profiles | ui/color/ColorPicker.ts:17 |
ticker? | Ticker | null | Ticker driving the handle motion. Default Ticker.shared, null for manual ColorPicker.tick. | ColorPickerOptions.ticker | ui/color/ColorPicker.ts:15 |
width? | number | Track length in local units. Default 220. | - | ui/color/ColorSlider.ts:23 |