Hi all,
I’d like to announce a new free plugin from AirDev called Tornis Viewport Data. This plugin allows you to track and store data related to the viewport - such as page height/width, mouse position and velocity, and scroll position and velocity. It also allows you to trigger workflow events based on changes in that data.
While it is possible to track viewport data and changes manually through JavaScript (and through some of Bubble’s out-of-the-box functionality), Tornis aims to accomplish this in a performant manner. You can learn more about the library and check out their demo here.
To use, you install the plugin and then add a “Viewport” element to your Bubble page. From there, you can reference the element to access viewport data or add workflow events that fire when the viewport changes.
Here’s our demo: run-mode / editor
Please send any issues, questions, or suggestions to [email protected] or reply to this thread!
David
AirDev