@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / components / UISliderOptions
Type Alias: UISliderOptions ​
ts
type UISliderOptions = {
value?: number;
min?: number;
max?: number;
actionId?: string;
width?: number;
height?: number;
trackColor?: string;
accentColor?: string;
knobColor?: string;
pixelDensity?: number;
style?: UiStyle;
variant?: UiSliderVariant;
step?: number;
readOnly?: boolean;
};Defined in: components/UISlider.ts:7
Optional initializer for UISliderComponent.
Properties ​
| Property | Type | Defined in |
|---|---|---|
value? | number | components/UISlider.ts:8 |
min? | number | components/UISlider.ts:9 |
max? | number | components/UISlider.ts:10 |
actionId? | string | components/UISlider.ts:11 |
width? | number | components/UISlider.ts:12 |
height? | number | components/UISlider.ts:13 |
trackColor? | string | components/UISlider.ts:14 |
accentColor? | string | components/UISlider.ts:15 |
knobColor? | string | components/UISlider.ts:16 |
pixelDensity? | number | components/UISlider.ts:17 |
style? | UiStyle | components/UISlider.ts:18 |
variant? | UiSliderVariant | components/UISlider.ts:19 |
step? | number | components/UISlider.ts:20 |
readOnly? | boolean | components/UISlider.ts:21 |

