azopcorp / fancyknob Goto Github PK
View Code? Open in Web Editor NEWJquery plugin to replace range inputs with a fancy knob
Jquery plugin to replace range inputs with a fancy knob
Everything works fine when I initialized the knob and turn it, but when I try to turn the knob for the second time, the knob first returns to the end (minimum value or maximum value), then start to move.
It seems that the css style transform: rotate return to certain value every time I try to move the knob. And I'm not sure if I was loading the js wrong or something.
First, thanks for the cool knobs! It almost does what I need.
My main problem is that it's difficult to set the knob to the minimum value. For example, I have a volume percentage knob that starts at 0. When setting it with the mouse, you have to get it precisely to the 0 position - if you go a little past, it'll just stay at whatever the last value was. It'd be better if it bottomed out at the minimum setting if you went past.
And as long as I've got your attention, what's the intended way to get change events when using the mouse to set the knob? on('change') works for the scroll wheel, but it doesn't get change events for setting with mouse movements and I don't see an obvious way to get that. For this volume knob, for example, I just need to set the volume immediately no matter how the user interacts with the knob.
Thanks!
What is the license for this library? Could you please add the license for it?
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.