Releases: soundar24/roundSlider
v1.6.1
v1.6.0
- Updated the source with CommonJS module syntax
- Added
rs-
prefix for all the below classes to avoid overlap with application level styles- full, half, top, bottom, right, left, quarter (These classes from the
rs-container
element) - edit, hover (These classes from the
rs-tooltip rs-tooltip-text
element)
- full, half, top, bottom, right, left, quarter (These classes from the
v1.5.2
v1.5.1
-
New 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 withdisplay: 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)
v1.5.0
-
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.
-
v1.4.1
-
New features
- startValue property added (#100)
- The
startValue
property decides at which point the slider should start. Otherwise, by default the slider starts with min value - This is mainly used for min-range slider, where you can customize the min-range start position
- By setting
min: -50, max: 50, startValue: 0, sliderType: 'min-range'
you can achieve the mid-range-slider with the positive and negative range selection
- The
- startValue property added (#100)
-
Bug fixes
- setValue() method - resolved the issue when pass array value
- When setting min or max property alone, slider was not updated - issue resolved
- When setting
min:100, max:0
, the reversed valuevalue:"60,40"
was not taken - issue resolved