Permalink
Browse files

Version 1.1.1

- keyboard control refactoring / acceleration
- mousewheel refactoring
- bugfix no keyboard or mousewheel when readonly
- bugfix min/max can be exceeded
- hooks on keyboard events
  • Loading branch information...
1 parent b8f70f3 commit debc3835745387fd2eb4f239773b4fa59fd40983 @aterrien committed May 11, 2012
Showing with 365 additions and 5 deletions.
  1. +24 −4 README.md
  2. +1 −1 index.html
  3. +340 −0 js/jquery.knob-1.1.1.js
View
@@ -2,10 +2,9 @@ jQuery Knob
=============
- canvas based ; no png or jpg sprites
-- touch events implemented
+- touch, mousewheel, keyboard events implemented
- downward compatible ; overloads an input element
-
Options
-------
@@ -27,13 +26,34 @@ The following options (data-*=attributes) are supported :
* readOnly : disable input and events
* skin : default | "tron"
+Hooks
+-------
-Example :
+* draw : when drawing the canvas
+* change : at each change of value
+* release : on release
+
+Example
+-------
<input type="text" value="75" class="dial">
<script>
$(function() {
$(".dial").knob();
}
- </script>
+ </script>
+
+
+Tested on Chrome, Safari, Firefox.
+Not tested on MSIE.
+
+
+1.1.1
+-------
+- keyboard control refactoring / acceleration
+- mousewheel refactoring
+- bugfix no keyboard or mousewheel when readonly
+- bugfix min/max can be exceeded
+- hooks on keyboard events
+
View
@@ -3,7 +3,7 @@
<head>
<title>jQuery Knob demo</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
- <script src="js/jquery.knob-1.1.0.js"></script>
+ <script src="js/jquery.knob-1.1.1.js"></script>
<script>
$(function() {
$(".knob").knob();
Oops, something went wrong.

0 comments on commit debc383

Please sign in to comment.