- Prefix all CSS classes with rz- to prevent conflicts.
- Remove the dist folder from gitignore.
- Republish the npm module since dist files were missing.
- Added
rightToLeft
option for RTL support (#270). Thanks @Liam-Ryan :).
- Change
rzSliderOptions
to use expression binding (#266).
- Add a
getPointerColor
option to dynamically change the pointers color (#253).
- Fix high label positioning when size is different than the ceil one.
- Add an
enforceStep
option (defaults to true) (#246). - Add a
showSelectionBarFromValue
options (#250). - Use jqLite html() method to display label values so the translate function can return formated content (#251).
- Pass a label string as third arg to the
translate
function to differentiate the labels (#252).
- Improve combined label position and show only one value if min==max (#245).
- Add a
noSwitching
option to prevent the user from switching the min and max handles (#233).
- Refactor the internal
roundStep
function that was too strict (5d130f09d).
- Add a
minRange
option to set a minimal range (#231). - Pass the slider values to the
onStart
,onChange
andonEnd
callbacks. - Rollback and improve the callback changes brought with 2.4.1 that were no applying the last update to the scope anymore.
- Remove the $timeout call in the init method (#223).
- Remove the $timeout call in the onStart callback.
- Remove the $timeout call in the onChange callback (#229).
- Add an
enforceRange
options to round therzSliderModel
andrzSliderHigh
to the slider range even when modified from outside the slider.(#208). - Add a
ticksTooltip
option used to display a tooltip when a tick is hovered (#209). - Add an
onlyBindHandles
option to only bind events on slider handles (#212). - Add a
showSelectionBarEnd
option to display the selection bar after the value (#214).
- Fix reset of maxH element (#204).
- Change the watchers order to prevent unwanted model modifications (#207).
- Add keyboard support (activated by default with
keyboardSupport
set to true) (#191). - Add a
draggableRangeOnly
options (#203).
- Add a
getSelectionBarColor
option to dynamically change the selection bar color (#197).
- Fix negative float values rendering (#190).
- Add a
vertical
options to display vertical sliders (#185). - Pass the options.id to the onStart, onChange and onEnd callbacks (#182).
- Force labels to stay contained within element containing slider (#175).
- add vendor-prefix to
display: flex
used by ticks (#160).
- All attributes except
rzSliderModel
andrzSliderHigh
are moved torzSliderOptions
. (See the new documentation in ReadMe)
- Add a
rzSliderOptions
attribute to pass options to the slider. - Add a
RzSliderOptions.options()
method to set global options. - Add a
scale
option to fix sliders displayed in an element that usestransform: scale(0.5)
. - Add a
stepsArray
option (#163) - Add an
id
option that is passed to the translate function as second arg (#161) - Add a
ticksValuesTooltip
option that is used to display a tooltip on the ticks values (requires angular-ui bootstrap).
- Configurable update interval (#153)
- Update floor label so that it hides correctly when using single slider. (#155)
- Fix ticks values when step is a float.
- Remove the delta checking in updateLowHandle because it leads to hard-to-debug bugs.
- Rename the NPM package from jusas-angularjs-slider to angularjs-slider because jusas was added by mistake during a PR.- Start to use semantic versioning.
- Separate the LESS variables from the main file to ease versioning of local customisations.
- Add enabled/disabled option for slider:
rz-slider-disabled="boolean"
- Support ticks for range sliders and slider with always visible bars.
- Add a
rzSliderShowTicks
to show a tick on each step. - Add a
rzSliderShowTicksValue
to show a tick and its value on each step.