Giter Club home page Giter Club logo

fancyknob's People

Contributors

azopcorp avatar pakyyy avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

pakyyy

fancyknob's Issues

Knob move to the end automatically

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.

Difficult to reach minimum value

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.