Detect shaking when using the draggable interaction

Posted by Ben Shelock on Stack Overflow See other posts from Stack Overflow or by Ben Shelock
Published on 2010-05-17T20:45:45Z Indexed on 2010/05/17 20:50 UTC
Read the original article Hit count: 304

Filed under:
|
|

Something like this perhaps?

$('#drag').draggable({
    shake: function(){
        alert('Shake event invoked');
    }
});

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jquery-ui