roundSlider - A free jQuery plugin
change
eventborderColor
, pathColor
and tooltipColor
properties supports "inherit", so while setting this it will inherit the rangeColor
valuers-
prefix for all the below classes to avoid overlap with application level styles
rs-container
element)rs-tooltip rs-tooltip-text
element)beforeValueChange
eventNew property and method was added (#31, #71)
tooltipColor
- this property can be used to update the tooltip color dynamically.
refreshTooltip()
- this method is used to refresh the tooltip position, when it is misaligned. Mostly when we create the slider with display: none
state at that time only we may face this problem, in this release that also handled by built-in. Maybe in any on-demand situation to refresh the tooltip this can be used.
Bug fixes (#98)
New events are added (#25, #26 )
update
- this event is the combination of 'drag'
and 'change'
events. Simply, whenever the slider value gets updated through the user interaction at that time it will be triggered.
valueChange
- this event is similar to 'update'
event, in addition it will trigger even the value was changed through programmatically also.
beforeValueChange
- this event will be triggered before the value change happens. And this event can be cancellable. So whenever you want to restrict the slider for particular values at that time this will be useful.
New features
startValue
property decides at which point the slider should start. Otherwise, by default the slider starts with min valuemin: -50, max: 50, startValue: 0, sliderType: 'min-range'
you can achieve the mid-range-slider with the positive and negative range selectionBug fixes
min:100, max:0
, the reversed value value:"60,40"
was not taken - issue resolvedAdded the SVG mode support (#10, #12, #15, #47, #77, #78, #97)
svgMode: true
, to avoid the breaking changes for the existing usersFor the SVG customization added the below properties: