WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
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
Could possibly replace, or at least assist (by automating) the requirement to document.addEventListener('page:updated', () => lazyloading.reset()); when injecting new content.
MutationObserver could be used to add entries to the IntersectionObserver when injected into the page and also to remove entries from the IntersectionObserver if content is removed from the page.
A17 Behaviors uses one - I think the implementation will be similar here.