thecreation / jquery-asrange Goto Github PK
View Code? Open in Web Editor NEWa powerful jquery range plugin for choose a range of value
License: GNU Lesser General Public License v3.0
a powerful jquery range plugin for choose a range of value
License: GNU Lesser General Public License v3.0
Is it possible to use negative values?
I have a range from -10 to 70 but if I select -10, the value outputs as 0 not -10. How can I fix this?
there's no support for RTL cases like arabian website where the direction is right to left thus sliders like price range should be reflected.
Vertical orientation is the same as horizontal.
Set the option : orientation: "v"
Vertical range !
Horizontal range !
As I see it, there isn't any option to create a range other than for regular numbers. Can I also use a range of times?
I have form on my page which has multiple text input fields. I wanted to add a range slider too. I added it via the code below. The issue is that whenever I open the page it is autofocusing on the slider which should not be the case. I checked the documentation to see whether there is any option to alter autofocus or not, but didn't find any. Could any one please help.
This is how I used it in my code:
var rangeSlider = function(){
var slider = $(document).find('.my-range-slider');
slider.each(function(){
var value = $(this).attr('value');
$(this).asRange({
step: $(this).attr('step'),
range: false,
min: parseInt($(this).attr('min')),
max: parseInt($(this).attr('max'))
});
$(this).asRange('val', value);
});
};
rangeSlider();
$('#toleranceRangeSlider').asRange();
$('#toleranceRangeSlider').on('asRange::change', function (e) {
//this works
});
$('#toleranceRangeSlider').on('asRange::end', function (e) {
//does not get called during mouse up
});
I'm not able to make scale feature work. Can you please provide an example?
The documentation instructs multiple initial values to be set with the syntax:
[ min, max ]
^ This does not work in the cloned version
The example uses the syntax:
min, max ( without brackets )
^ This works fine
Please update your documentation
Hi, I am using this script to create a range slider using WP. I will need to get the range value when it changes and adds a thousand separators.
I have tried to use it by using jQuery onChange event and it's not working? Is there any way to do this?
(function($){ $(function() { $("body").on("asRange::change", function (e) { console.log("NOT Getting the Value"); }); }); })(jQuery);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.