prajwalkman / angular-slider

(DEPRECATED) Slider directive implementation for AngularJS, without jQuery dependencies
http://prajwalkman.github.io/angular-slider
MIT License
249 stars 177 forks source link

Sliders position is always at initial position (left) #70

Open amurtola opened 9 years ago

amurtola commented 9 years ago

I have some values in ng-model object, but sliders position is initilal. Hmm...

anthonysubramani commented 8 years ago

@amurtola did u ever find any solution, I am looking for a default range on load

amurtola commented 8 years ago

i have changed to this one: https://github.com/angular-slider/angularjs-slider. It also has problem with initial value in bootstrap tab - panel, but it can be solved by using:

  private refreshSlider() {
        var vm = this;
        vm.$timeout(function () {
            vm.$scope.$broadcast('rzSliderForceRender');
        });
    }
anthonysubramani commented 8 years ago

thanks. @amurtola $timeout worked in this also!