We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b601d02 + 980384c commit a85608aCopy full SHA for a85608a
slider.js
@@ -19,6 +19,7 @@ angular.module('ui.bootstrap-slider', [])
19
ticksSnapBounds: '=',
20
ticksPositions: '=',
21
scale: '=',
22
+ focus: '=',
23
formatter: '&',
24
onStartSlide: '&',
25
onStopSlide: '&',
@@ -60,6 +61,7 @@ angular.module('ui.bootstrap-slider', [])
60
61
setOption('ticks_snap_bounds', $scope.ticksSnapBounds);
62
setOption('ticks_positions', $scope.ticksPositions);
63
setOption('scale', $scope.scale, 'linear');
64
+ setOption('focus', $scope.focus);
65
66
setFloatOption('min', $scope.min, 0);
67
setFloatOption('max', $scope.max, 10);
0 commit comments