R/directives.R
x_intersect.Rd
React when an element enters the viewport. Requires Plugin "Intersect"
x_intersect(expression, once = FALSE)
The JS code to run on intersection
Logical, if TRUE, only trigger the first time
https://alpinejs.dev/plugins/intersect