Hi,
In panel you can add custom event but how to proceed to add a custom event, there is nothing in the doc ?
In fact i neet intersection observer event, to add a class when an element reaches the top of the page.
Thanks.
Hi,
In panel you can add custom event but how to proceed to add a custom event, there is nothing in the doc ?
In fact i neet intersection observer event, to add a class when an element reaches the top of the page.
Thanks.
Hi
Here is the part from the docs regarding custom events:
But this will be not possible for Intersection Observers as they have to be created in a different way. We will add them natively soon. But as workaround, you could write your custom JS für the Observer with the event “Pageload” and the event action “JavaScript”.