The set of core options.
@default null
The knob value to use with v-model or value prop.
The value will always return the original set in the
optionsprop. So if the option value is1it will return1and if the option value is an object it will return that object.
@default []
The set of knob values to use in the knob.
Accepts numeric, string or object.
@default ''
Set the size for the knob which will get translated to a class-:size string such as knob-sm.
Supports
xs,sm,md,lg,xlout of the box with a default tomdsize.
@default ''
Allows setting a variant / theme class translated to a class-:variant string such as knob-primary.
@default 30
Specify the knob's dial minimum rotation speed.
This a speed and not a timer so it will be a constant rate.
@default 'value'
Specify the "value" key to use when using objects in the options prop.
@default 'label'
Specify the "label" key to use when using objects in the options prop.
@default 30
Specify the starting angle to use on the knob.
@default 30
Specify the ending angle to use on the knob.
@default 150
Specify the tolerance for a rotation to be acceptable. Meaning a change in the knob higher than the specified value (150 default) will be ignored.
@default false
Toggle slider mode on or off.
In this mode, only the first and last option values are used and there is no snapping making the knob behave more as a generic slider.
It's also important to note that in this mode you must have at least two values set in options and they MUST be numeric values since the slider is auto calculating values.
You can still set intermediary labels for visual purposes and to click them to go directly to the value. However, they will in no way affect the value when dragging the knob.
@default 1
This works directly with the slider option to set a precision value when moving the knob.
For instance we want to allow
0.1,0.5or only whole number values, etc.
@default false
Enable snap to nearest "step-by" value when using slider.
@default 0
Specify an offset for anchors.
This is a integer that will be a pixel value.