jquery - How does the triggering of mousemove work in Javascript? -


i have object prints mouse's x , y positions on every mousemove.

it's this:

$('#canvas').mousemove(function(e){     $('#output').prepend(e.pagex + ',' + e.pagey); }); 

i've noticed when move on object fast prints out few positions.

i'm not unhappy (because quite exhaustive have hundreds of pixels you've crossed) wondering how works.

is mousemove event limited amount of triggers per second or what?

(btw: tested on chromium in ubuntu linux)

"mice report position operating system n times per second, , think n less 100"


Comments

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -