imtumbleweed / mouse Goto Github PK
View Code? Open in Web Editor NEWUniversal JavaScript Mouse class, automatically tracks mouse drag distance, converts it to a CSS style object, and calculates velocity of the mouse movement (to be inherited later by affected elements.)