For the complete documentation index, see llms.txt. This page is also available as Markdown.

Scroll Into View Trigger

Invoke the specified event when the element scrolls into view

This Trigger fires only once per page load.

Use Cases

  • Trigger a modal

Usage Notes

sa-trigger-scrollintoview = ( event name )

Place on any element that should be invoke the specified event when it is scrolled into view.

Assign whatever event name you like, depending on your trigger-event-action setup.

<div sa-trigger-scrollintoview="my-event"></div>

Future

Allow repeat triggering

  • Once

  • Unlimited, but element must leave page to reset

Last updated