Name | Type | Default | ||||||
---|---|---|---|---|---|---|---|---|
allowValueChangeOnClick | Boolean | true | ||||||
Sets or gets whether the jqxKnob's value can be changed on click. Code examples
Set the
Get the
|
||||||||
allowValueChangeOnDrag | Boolean | true | ||||||
Sets or gets whether the jqxKnob's value can be changed by dragging the pointer. Code examples
Set the
Get the
|
||||||||
allowValueChangeOnMouseWheel | Boolean | true | ||||||
Sets or gets whether the jqxKnob's value can be changed on mouse wheel. Code examples
Set the
Get the
|
||||||||
changing | Function | null | ||||||
Sets or gets a function called when the user drags the pointer. The function is called before the pointer is moved and the passed arguments are 2 - oldValue and newValue. If the function returns false, the value will not be changed. Code examples
Set the
Get the
Try it: changing is set to function
|
||||||||
dragEndAngle | Number | 0 | ||||||
Sets or gets the Knob's angle where dragging the pointer will end. Code examples
Set the
Get the
Try it: dragEndAngle is set to 420
|
||||||||
dragStartAngle | Number | 360 | ||||||
Sets or gets the Knob's degrees where dragging the pointer can start. Code examples
Set the
Get the
Try it: dragStartAngle is set to 120
|
||||||||
disabled | Boolean | false | ||||||
Sets or gets whether the Knob is disabled. Code examples
Set the
Get the
Try it: disabled is set to true
|
||||||||
dial | Object | null | ||||||
Sets or gets the Knob's dial.
Code examples
Set the
Get the
Try it: dial is set to custom object
|
||||||||
endAngle | Number | 360 | ||||||
Sets or gets the Knob's degrees offset for the 360 location. Code examples
Set the
Get the
Try it: endAngle is set to 420
|
||||||||
height | Number | 400 | ||||||
Sets or gets the Knob's height. Code examples
Set the
Get the
Try it: height is set to 400
|
||||||||
labels | Object | null | ||||||
Sets or gets the Knob's labels.
Code examples
Set the
Get the
Try it: labels is set to custom object
|
||||||||
marks | Object | null | ||||||
Sets or gets the Knob's marks.
Code examples
Set the
Get the
Try it: marks is set to custom object
|
||||||||
min | Number | 0 | ||||||
Sets or gets the Knob's min property. Code examples
Set the
Get the
Try it: min is set to 0
|
||||||||
max | Number | 100 | ||||||
Sets or gets the Knob's max property. Code examples
Set the
Get the
Try it: max is set to 100
|
||||||||
progressBar | Object/Array of Objects | null | ||||||
Sets or gets the Knob's progressBar property.
Code examples
Set the
Get the
|
||||||||
pointer | Object/Array of Objects | null | ||||||
Sets or gets the Knob's pointer property.
Code examples
Set the
Get the
Try it: pointer is set to custom object
|
||||||||
pointerGrabAction | String | "normal" | ||||||
Sets or gets the Knob's pointerGrabAction property("normal", "progressBar", "pointer"). Code examples
Set the
Get the
|
||||||||
rotation | String | "clockwise" | ||||||
Sets or gets the Knob's rotation("clockwise" or "counterclockwise"). Code examples
Set the
Get the
|
||||||||
startAngle | Number | 0 | ||||||
Sets or gets the Knob's degrees offset for the 0 location. Code examples
Set the
Get the
Try it: startAngle is set to 120
|
||||||||
spinner | Object | null | ||||||
Sets or gets Knob's spinner.
Code examples
Set the
Get the
Try it: spinner is set to custom object
|
||||||||
style | Object | null | ||||||
Sets or gets the Knob's background style.
Code examples
Set the
Get the
Try it: style is set to custom object
|
||||||||
step | Number | 1 | ||||||
Sets or gets the Knob's step property. Specifies the increase/decrease step. Code examples
Set the
Get the
Try it: step is set to 10
|
||||||||
snapToStep | Boolean | true | ||||||
Sets or gets the Knob's snapToStep property. Specifies whether setting the knob value will snap to the closest step true/false. Code examples
Set the
Get the
Try it: snapToStep is set to true
|
||||||||
value | Number/Array of Numbers | 0 | ||||||
Sets or gets the Knob's value. Code examples
Set the
Get the
Try it: value is set to 60
|
||||||||
width | Number | 400 | ||||||
Sets or gets the Knob's width. Code examples
Set the
Get the
Try it: width is set to 400
|
||||||||
Events |
||||||||
change | Event | |||||||
This event is triggered when the value is changed. Code examples
Bind to the
|
||||||||
Methods |
||||||||
destroy | Method | |||||||
Destroys the widget.
None Code examples
Invoke the
Try it: destroys the jqxKnob
|
||||||||
val | Method | |||||||
Sets or gets the value.
String Code examples
Get the
Set the
Try it: sets the jqxKnob value
|