|
Name |
Type |
buttonsPosition
|
object
|
Sets or gets scroll buttons position.
Possible Values:
'both'
'left'
'right'
|
disabled
|
bool
|
Sets or gets whether the slider is disabled.
|
height
|
object
|
Sets or gets the slider's height.
|
layout
|
object
|
Sets or gets the slider's layout.
Possible Values:
'normal'
'reverse'-the slider is filled from right-to-left(horizontal slider) and from top-to-bottom(vertical slider)
|
mode
|
object
|
Sets or gets slider's mode.
Possible Values:
'default'- the slider's thumb can be dragged smoothly ( like a scrollbar )
'fixed'- the thumb is dragged with a 'step' specified by the 'step' property.
|
minorTicksFrequency
|
double
|
Sets or gets slider's minor ticks frequency.
|
minorTickSize
|
double
|
Sets or gets slider's minor ticks size.
|
max
|
double
|
Sets or gets slider's maximum value.
|
min
|
double
|
Sets or gets slider's minimum value.
|
orientation
|
string
|
|
rangeSlider
|
bool
|
Sets or gets whether the slider is displayed as a range slider and has 2 thumbs. This allows the user to select a range of values. By default, end-users can select only a single value.
|
rtl
|
bool
|
Sets or gets a value indicating whether widget's elements are aligned to support locales using right-to-left fonts.
|
step
|
double
|
Sets or gets the slider's step when the user is using the keyboard arrows, slider increment and decrement buttons or the mouse wheel for changing the slider's value.
|
showTicks
|
bool
|
Sets or gets whether ticks will be shown.
|
showMinorTicks
|
bool
|
Sets or gets whether minor ticks will be shown.
|
showTickLabels
|
bool
|
Sets or gets whether major tick labels will be shown.
|
showButtons
|
bool
|
Sets or gets whether the scroll buttons will be shown.
|
showRange
|
bool
|
Sets or gets whether the slider range background is displayed. This is the fill between the slider's left button and the slider's thumb to indicate the selected value. In range slider mode, the space between the handles is filled to indicate the selected values.
|
template
|
object
|
Determines the template as an alternative of the default styles.
Possible Values:
'default' - the default template. The style depends only on the "theme" property value.
'primary' - dark blue style for extra visual weight.
'success' - green style for successful or positive action.
'warning' - orange style which indicates caution.
'danger' - red style which indicates a dangerous or negative action.
'info' - blue button, not tied to a semantic action or use.
|
theme
|
string
|
|
ticksPosition
|
object
|
Sets or gets slider's ticks position.
Possible Values:
'top'
'bottom'
'both'
|
ticksFrequency
|
double
|
Sets or gets slider's major ticks frequency.
|
tickSize
|
double
|
Sets or gets slider's major ticks size.
|
tickLabelFormatFunction
|
object
|
Sets or gets the major ticks labels formatting function.
|
tooltip
|
bool
|
Sets or gets whether the slider tooltip will be shown.
|
tooltipHideDelay
|
double
|
Sets or gets the tooltip's hide delay.
|
tooltipPosition
|
object
|
Sets or gets the tooltip's position. Possible values: "near", "far"
|
tooltipFormatFunction
|
object
|
Sets or gets the tooltip's tooltip formatting.
|
value
|
object
|
Sets or gets slider's value. This poperty will be an object with the following structure { rangeStart: range_start, rangeEnd: range_end } if the slider is range slider otherwise it's going to be a number.
|
values
|
double[]
|
Sets or gets range slider's values.The 'rangeSlider' property should be set to true.
|
width
|
object
|
Sets or gets the slider's width.
|
|
onChange
|
Event
|
This event is triggered when the value of the slider is changed.
|
onSlide
|
Event
|
This event is triggered when the user is dragging the sliders thumb.
|
onSlideStart
|
Event
|
This event is triggered when the user start dragging slider's thumb.
|
onSlideEnd
|
Event
|
This event is triggered when the user have dragged the slider's thumb and drop it.
|
|
Name |
Arguments |
Return Type |
destroy
|
()
|
void
|
|
decrementValue
|
()
|
void
|
Decreases the jqxSlider's value with the value of the 'step' property.
|
disable
|
()
|
void
|
|
enable
|
()
|
void
|
|
focus
|
()
|
void
|
|
getValue
|
()
|
double
|
Gets the slider's value. The returned value is a number or an object. If the Slider is a range slider, the method returns an object with the following fields: rangeStart - the range's start value and rangeEnd - the range's end value..
|
incrementValue
|
()
|
void
|
Increases the jqxSlider's value with the value of the 'step' property.
|
setValue
|
(object index)
|
void
|
Sets the jqxSlider's value. When the slider is not in range slider mode, the required parameter for the value is a number which should be in the 'min' - 'max' range. Possible value types in range slider mode- array, object or two numbers.
|
val
|
[SET] (string value) [GET] ()
|
[SET] void [GET] string
|
|