jquery-follow-cursor

1.0.0 • Public • Published

jquery-follow-cursor

jQuery plugin that causes any element to rotate following the mouse (cursor location)

Usage

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="/libs/jquery-follow-cursor/follow-cursor.js"></script>
 
<canvas id='eye' height="220" width="220"></canvas>
 
<script>
    $('#eye').followCursor();
</script> 

Package Sidebar

Install

npm i jquery-follow-cursor

Weekly Downloads

1

Version

1.0.0

License

Apache-2.0

Last publish

Collaborators

  • pstrinkle