Skip to main content

Interface: KnobProps

Defined in: components/Knob/index.tsx:24

Properties

activeLine?

optional activeLine: string

Defined in: components/Knob/index.tsx:64


bodyNoSelect?

optional bodyNoSelect: boolean

Defined in: components/Knob/index.tsx:50

Whether to apply {use-select: none} when dragging


classes?

optional classes: object

Defined in: components/Knob/index.tsx:69

activeLine?

optional activeLine: string

inactiveLine?

optional inactiveLine: string

thumb?

optional thumb: string

thumbLine?

optional thumbLine: string


defaultValue?

optional defaultValue: number

Defined in: components/Knob/index.tsx:38

value set when double-clicking

Default

min

See

enableDoubleClickDefault


disabled?

optional disabled: boolean

Defined in: components/Knob/index.tsx:61


enableDoubleClickDefault?

optional enableDoubleClickDefault: boolean

Defined in: components/Knob/index.tsx:59


inactiveLine?

optional inactiveLine: string

Defined in: components/Knob/index.tsx:65


keyboard?

optional keyboard: null | InputEventOption

Defined in: components/Knob/index.tsx:58

keyboard control option


max

max: number

Defined in: components/Knob/index.tsx:28


min

min: number

Defined in: components/Knob/index.tsx:27


onChange()?

optional onChange: (value) => void

Defined in: components/Knob/index.tsx:76

Parameters

value

number

Returns

void


readonly?

optional readonly: boolean

Defined in: components/Knob/index.tsx:62


size?

optional size: number

Defined in: components/Knob/index.tsx:47


skew?

optional skew: number

Defined in: components/Knob/index.tsx:32


startValue?

optional startValue: number

Defined in: components/Knob/index.tsx:44

Value to be used as the starting point of the line when drawing.

Default

min

step?

optional step: number

Defined in: components/Knob/index.tsx:31


thumb?

optional thumb: string

Defined in: components/Knob/index.tsx:66


thumbLine?

optional thumbLine: string

Defined in: components/Knob/index.tsx:67


value

value: number

Defined in: components/Knob/index.tsx:26


wheel?

optional wheel: null | InputEventOption

Defined in: components/Knob/index.tsx:54

wheel control option