Unverified Commit 4552a9f9 authored by
Improve performance of LazyLoader by using IntersectionObserver
Every browser which supports IntersectionObserver will now use it over observing scroll and resize events. Older browsers without support fall back on the previous behavior. Additionally the MutationObserver can be enabled and disabled manually via the helper method `startContentObserver` and `stopContentObserver`. This might prove useful on pages where we manipulate the DOM extensively.
Showing with 266 additions and 32 deletions