darul75 / angular-awesome-slider

:arrows_clockwise: Angular slider control directive
http://darul75.github.io/angular-awesome-slider/
MIT License
144 stars 63 forks source link

RTL support #118

Open yagobski opened 9 years ago

yagobski commented 9 years ago

Hi,

How can i inverse sens when my theme is RTL. I have flip all css using flip css module. I get problem with the ng-slider because the sens is not correct when i slide. Any solution

darul75 commented 9 years ago

Have you tried reverse from and to options, to: 1 from:100

yagobski commented 9 years ago

Yes i try that but the slider dont work

Le dimanche 12 juillet 2015, Julien Valéry notifications@github.com a écrit :

Have you tried reverse from and to options, to: 1 from:100

— Reply to this email directly or view it on GitHub https://github.com/darul75/angular-awesome-slider/issues/118#issuecomment-120731263 .

darul75 commented 9 years ago

I can not check now but will soon

yagobski commented 9 years ago

Thanks in advance. by the way your plugin is awesome

2015-07-12 19:56 GMT+02:00 Julien Valéry notifications@github.com:

I can not check now but will soon

— Reply to this email directly or view it on GitHub https://github.com/darul75/angular-awesome-slider/issues/118#issuecomment-120750895 .

darul75 commented 9 years ago

Could you send your options here I try to check tonight then

darul75 commented 9 years ago

I have updated example http://jsfiddle.net/wzu4qdhu/1/ is it fine for you ?

    $scope.options2 = {             
        from: 100,
        to: 1,
        floor: true,
        step: 1,
        dimension: " km",
        vertical: false,
        callback: function(value, elt) {
            console.log(value);
        }               
    };
yagobski commented 9 years ago

Thanks for your answer i will try to do like that.

2015-07-14 11:49 GMT+02:00 Julien Valéry notifications@github.com:

I have updated example http://jsfiddle.net/wzu4qdhu/1/ is it fine for you ?

$scope.options2 = {
    from: 100,
    to: 1,
    floor: true,
    step: 1,
    dimension: " km",
    vertical: false,
    callback: function(value, elt) {
        console.log(value);
    }
};

— Reply to this email directly or view it on GitHub https://github.com/darul75/angular-awesome-slider/issues/118#issuecomment-121183748 .