A tiny polyfill for HTML5 multi-handle sliders
For docs, check out the website: http://leaverou.github.io/multirange/
A tiny polyfill for HTML5 multi-handle sliders
Home Page: http://projects.verou.me/multirange/
License: MIT License
A tiny polyfill for HTML5 multi-handle sliders
For docs, check out the website: http://leaverou.github.io/multirange/
CSS: Use the --range-color property to change the color of the range. Use the --track-background property for more extensive customization.
how? pls show example
thanks
I can't find any, on this repo or on https://leaverou.github.io/multirange/ .
Is there any??
It seems that as of some time between July 10, 2016, and July 31, 2016, the "multiple" attribute was removed from the input[type=range] spec, and is now listed as "does not apply".
Here is the latest web archive page with that text:
http://web.archive.org/web/20160710230742/https://html.spec.whatwg.org/multipage/forms.html#range-state-(type=range):attr-input-multiple-3
Removed
Clicking on the track moves only the one handle. I think it would be more intuitive to move the closest handle.
Example:
If range is set from 40% to 60% and i tap at 80% the range should be 40% to 80%
If the initial range is the same and i tap at 20% the final range will be 20% to 60%
This plugin doesn't seem to operate or load as expected for me in the latest Chrome (v62).
In a new Incognito window I go to https://leaverou.github.io/multirange/ and see this in the console:
Uncaught TypeError: Cannot read property 'bind' of null
at self.multirange (multirange.js:60)
at Array.forEach (<anonymous>)
at HTMLDocument.multirange.init (multirange.js:74)
I get the error in Safari too at this URL. Same error when I include the script on a page of my own.
Removed
I'm trying to play around with how the input can be styled (vertically, diagonally), but it seems there's no support for this. Are there any known solutions to this problem? Else, this should probably be added as a limitation to the GitHub site.
CDN is good place where polyfills can be.
You can add package.json
to add npm support. Other developers can import your polyfill to page through browserify.
As you can see caniuse statistics - CSS Variables is supported only by modern browsers. So please add IE browsers support.
Is there a way around this? the events only fire when I move the first handle
Allow users to drag the current values to a new position.
The expected behavior can be seen here: http://refreshless.com/nouislider/slider-options/#section-limit
Removed
Removed
Hello,
The multirange polyfill works just fine in JSFiddle, but won't work in my Vue.js project.
Line 112 in multirange.js is the issue: module.exports = multirange;
which gives me the following error:
"TypeError: Cannot assign to read only property 'exports' of object '#<Object>'"
If I comment that line, the component would be loaded as a simple HTML input range element...
I looked for solutions on the Internet and found that using export ...
instead of module.exports = ...
could solve the issue, but I can't manage to use it properly (I'm using Vue.js which only allows me to use export
on the top of the page). Is there a proper way to import this IIFE with the export default
statement?
Thanks
I'm testing the demo-page in IE11 (in Browserstack), but I only see one slider and not two as it says in the demo. Perhaps it's not implemented yet or am I missing something?
If we give the input width:100% and place it in a parent that has padding, the multirange input doesn't look right. The "ghost" input has the right width, but the "original" (which is given position:absolute) has a width that doesn't respect the padding.
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.