You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Really nice framework thanks!
I've got one problem. I want to change a class on another element when data-sal is fired, they are not related to the data-sal objects. At the same time I want to use the features that sal.js provides.
I want to change a class on another element when data-sal is fired, they are not related to the data-sal objects.
Does this other element class change results in layout shift? If so, the Intersection Observer may incorrectly detect object in viewport. Additionally,threshold seems to be rather unusually small. Why is that?
Thank you for providing pseudo code, but in this case a working example would be more helpful. Could create such example using any online dev environment?
Really nice framework thanks!
I've got one problem. I want to change a class on another element when data-sal is fired, they are not related to the data-sal objects. At the same time I want to use the features that sal.js provides.
So its fired once but not the second time:
HTML:
The script tag:
The text was updated successfully, but these errors were encountered: