ohsiwon / jogdial.js Goto Github PK
View Code? Open in Web Editor NEWA JavaScript plugin for jog dial controls.
A JavaScript plugin for jog dial controls.
Hi, just a quick heads up that I completely forked this small lib and made it a bit more usable in modern enviroments. Check it out here and maybe update this repo's readme.md with a link to my fork?
It works really smooth but when a mouse moves out of the container element, the event is stopped.
var el=document.getElementById('dial_1');
var dial = JogDial(el, {debug: true});
dial.angle(45);
// This will change the JogDial degree to 45.
Above does not work.
I need an array for example...
var el=document.getElementById('dial_' + n);
dial[n] = JogDial(el, {debug: true});
dial[n].angle(degvalue);
But this fails also... can you show how it is ment to work?
This works after a playing with it.....
dial.trigger('angle',yourdeg,0);
How can i reset the rotation value to 0 on mouse click?
Really annoying behavior. When you start scroll down with a thinger it's stopes working and starts scrolling the page. Disable default mousemove, touchmove mb?
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.