Skip to content

Commit

Permalink
Version 1.1.1
Browse files Browse the repository at this point in the history
- 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
aterrien committed May 11, 2012
1 parent b8f70f3 commit debc383
Show file tree
Hide file tree
Showing 3 changed files with 365 additions and 5 deletions.
28 changes: 24 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------

Expand All @@ -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

2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Loading

0 comments on commit debc383

Please sign in to comment.