Skip to content

Commit b8ca59c

Browse files
authored
Merge pull request seiyria#141 from snurby7/master
add ticks_tooltip to angular wrapper
2 parents 1b5149a + 9bcec1b commit b8ca59c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

slider.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ angular.module('ui.bootstrap-slider', [])
2828
ticksLabels: '=',
2929
ticksSnapBounds: '=',
3030
ticksPositions: '=',
31+
ticksTooltip: "=",
3132
scale: '=',
3233
focus: '=',
3334
rangeHighlights: '=',
@@ -71,6 +72,7 @@ angular.module('ui.bootstrap-slider', [])
7172
setOption('ticks_labels', $scope.ticksLabels);
7273
setOption('ticks_snap_bounds', $scope.ticksSnapBounds);
7374
setOption('ticks_positions', $scope.ticksPositions);
75+
setOption('ticks_tooltip', $scope.ticksTooltip, false);
7476
setOption('rangeHighlights', $scope.rangeHighlights);
7577
setOption('scale', $scope.scale, 'linear');
7678
setOption('focus', $scope.focus);
@@ -229,6 +231,5 @@ angular.module('ui.bootstrap-slider', [])
229231
});
230232
}
231233
};
232-
}])
233-
;
234-
});
234+
}]);
235+
});

0 commit comments

Comments
 (0)