Type Alias: AnimationKnobProps
AnimationKnobProps =
object
Defined in: components/AnimationKnob/index.tsx:26
Properties
activeColor?
optional
activeColor:string
Defined in: components/AnimationKnob/index.tsx:54
active line color
bg?
optional
bg:string
Defined in: components/AnimationKnob/index.tsx:58
background color
bodyNoSelect?
optional
bodyNoSelect:boolean
Defined in: components/AnimationKnob/index.tsx:67
Whether to apply {use-select: none}
when dragging
defaultValue?
optional
defaultValue:number
Defined in: components/AnimationKnob/index.tsx:39
value set when double-clicking
See
enableDoubleClickDefault
draw?
optional
draw:DrawFunction
Defined in: components/AnimationKnob/index.tsx:64
enableDoubleClickDefault?
optional
enableDoubleClickDefault:boolean
Defined in: components/AnimationKnob/index.tsx:76
height?
optional
height:number
|`${number}%`
Defined in: components/AnimationKnob/index.tsx:51
inactiveColor?
optional
inactiveColor:string
Defined in: components/AnimationKnob/index.tsx:56
inactive line color
keyboard?
optional
keyboard:InputEventOption
|null
Defined in: components/AnimationKnob/index.tsx:75
keyboard control option
lineWeight?
optional
lineWeight:number
Defined in: components/AnimationKnob/index.tsx:61
max
max:
number
Defined in: components/AnimationKnob/index.tsx:30
min
min:
number
Defined in: components/AnimationKnob/index.tsx:29
onChange()?
optional
onChange: (value
) =>void
Defined in: components/AnimationKnob/index.tsx:78
Parameters
value
number
Returns
void
size?
optional
size:number
|`${number}%`
Defined in: components/AnimationKnob/index.tsx:48
Priority over width or height
skew?
optional
skew:number
Defined in: components/AnimationKnob/index.tsx:34
startValue?
optional
startValue:number
Defined in: components/AnimationKnob/index.tsx:45
Value to be used as the starting point of the line when drawing.
Default
min
step?
optional
step:number
Defined in: components/AnimationKnob/index.tsx:33
style?
optional
style:CSSProperties
Defined in: components/AnimationKnob/index.tsx:77
thumb?
optional
thumb:string
Defined in: components/AnimationKnob/index.tsx:60
thumb color
thumbWeight?
optional
thumbWeight:number
Defined in: components/AnimationKnob/index.tsx:62
value
value:
number
Defined in: components/AnimationKnob/index.tsx:28
wheel?
optional
wheel:InputEventOption
|null
Defined in: components/AnimationKnob/index.tsx:71
wheel control option
width?
optional
width:number
|`${number}%`
Defined in: components/AnimationKnob/index.tsx:50