Skip to content

Commit 477bc0f

Browse files
committed
add doc about $scope.$$postDigest to refresh slider
1 parent 1248bd0 commit 477bc0f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ vm.refreshSlider = function () {
5151
});
5252
};
5353
```
54+
if you get some flickering issues, you can try to replace to `$timeout` call by `$scope.$$postDigest` as suggested by @maknapp in [this issue](https://github.com/angular-slider/angularjs-slider/issues/79#issuecomment-219213647).
55+
5456
**ng-show-example**: http://jsfiddle.net/3jjye1cL/
5557

5658
**UI-Boostrap tabs example**: http://jsfiddle.net/0f7sd7dw/

0 commit comments

Comments
 (0)