We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I need to manage a decimal range in the slider.
In example:
from: 0.005, to: 0.08, step: 0.005, round: 3, scale: [0.005, 0.04, 0.08]
The text was updated successfully, but these errors were encountered:
Hi, I will give a solution soon. I need to give a try first
Sorry, something went wrong.
Could you try something like the following instead:
var calculate = function( value ) { return value/100; }; $scope.options = { from: 0, to: 8, step: 0.5, round: 1, scale: [0.005, 0.04, 0.08], smooth: false, calculate: calculate, callback: function(value, elt) { console.log('new value is ' + value); } };
http://jsfiddle.net/darul75/2m3u0qvh/4/
No branches or pull requests
I need to manage a decimal range in the slider.
In example:
from: 0.005,
to: 0.08,
step: 0.005,
round: 3,
scale: [0.005, 0.04, 0.08]
The text was updated successfully, but these errors were encountered: