JavaScript library that Watches and Respond to Browser ViewPort

Tornis : JavaScript library that Watches and Respond to Browser ViewPort


Tornis helps you watch and respond to changes in your browser’s viewport. Taking its name from the forest watchtowers of Latvia, Tornis is a minimal JavaScript library that watches the state of your browser’s viewport, allowing you to respond whenever something changes.

Tornis currently tracks state for:

  • Mouse position
  • Viewport size
  • Mouse cursor velocity
  • Scroll velocity
  • Scroll position

———————–

Leave a Reply

Your email address will not be published. Required fields are marked *