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
Hello, I love the library so far. I was wondeirng if the functionality exists or if it is easy to accomplish.
I wish to have only one element seen as "in-view" at a time. I was able to check if the entire element is visible using $inviewInfo.parts, which got me closer to my goal. My issue is, if I have two elements with 100% of each of them in view, if I could only somehow tag the second element as "in-view", and remove it from the first one.
I have many more than 2 elements. There may be a case where there are 3 fully visible on the viewport. Is there a way to assign the $inview to only the last element that is fully showing?
Thank you
The text was updated successfully, but these errors were encountered:
Hello, I love the library so far. I was wondeirng if the functionality exists or if it is easy to accomplish.
I wish to have only one element seen as "in-view" at a time. I was able to check if the entire element is visible using $inviewInfo.parts, which got me closer to my goal. My issue is, if I have two elements with 100% of each of them in view, if I could only somehow tag the second element as "in-view", and remove it from the first one.
I have many more than 2 elements. There may be a case where there are 3 fully visible on the viewport. Is there a way to assign the $inview to only the last element that is fully showing?
Thank you
The text was updated successfully, but these errors were encountered: