Skip to content

Commit

Permalink
README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aterrien committed May 22, 2012
1 parent de7b83d commit eb9e394
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Expand Up @@ -58,28 +58,28 @@ Hooks


<script> <script>
$(".dial").knob({ $(".dial").knob({
'release':function(e) { /*make something*/ } 'release':function(v,ipt) { /*make something*/ }
}); });
</script> </script>


* 'release' : executed on release * 'release' : executed on release


Parameters : Parameters :
value : int, current value + value : int, current value
input : jQuery element, input element + input : jQuery element, input element


* 'change' : executed at each change of the value * 'change' : executed at each change of the value


Parameters : Parameters :
value : int, current value + value : int, current value


* 'draw' : when drawing the canvas * 'draw' : when drawing the canvas


Parameters : Parameters :
angle : computed angle + angle : computed angle
value : current value + value : current value
opt : plugin options + opt : plugin options
context : Canvas context 2d + context : Canvas context 2d


Example Example
------- -------
Expand Down

0 comments on commit eb9e394

Please sign in to comment.