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

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -