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
If you need to observe multiple elements, it is both possible and advised to observe multiple elements using the same IntersectionObserver instance by calling observe() multiple times
It seems that this directive creates new IntersectionObserver for each element, so if there are let;s say 20 images we will end up with 20 IntersectionObservers. What if we could re-use the same IntersectionObserver?
The text was updated successfully, but these errors were encountered:
Google Developer docs available at https://developers.google.com/web/updates/2016/04/intersectionobserver
suggests:
It seems that this directive creates new
IntersectionObserver
for each element, so if there are let;s say 20 images we will end up with 20IntersectionObservers
. What if we could re-use the same IntersectionObserver?The text was updated successfully, but these errors were encountered: