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
Original file line number Diff line number Diff line change
Expand Up @@ -58,28 +58,28 @@ Hooks

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

* 'release' : executed on release

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

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

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

* 'draw' : when drawing the canvas

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

Example
-------
Expand Down

0 comments on commit eb9e394

Please sign in to comment.