You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when I set the value of footerSlider in the controller to be 120 the Slider handle is still positioned on the left of the bar and not positioned according to the value I set in the controller.
Please help.
Idanb11.
The text was updated successfully, but these errors were encountered:
To be more specific:
This problem exist if you change the value of the ng-model in the controller and the slider is hidden (false value of ng-show).
If the slider is visible - changing the value of the ng-model does update the slider handle position...
I ran into this problem. What I did was first I revealed the slider with ng-show, then I used the $timeout service, then updated the ng-model within the callback, something like this:
$scope.showSlider = true; // reveal the slider which is hidden via ng-show
// after that is done.. then use $timeout
$timeout(function() {
$scope.sliderData = someValue; // now update the slider model
});
Hi @popsugarlegal ,
Thanks for your work... 👍
I am trying to implement the slider with the following values:
But when I set the value of footerSlider in the controller to be 120 the Slider handle is still positioned on the left of the bar and not positioned according to the value I set in the controller.
Please help.
Idanb11.
The text was updated successfully, but these errors were encountered: