intersectionObserver.js 375 B

1234567891011121314151617181920212223
  1. class IntersectionObserver {
  2. root = null;
  3. rootMargin = "";
  4. thresholds = [];
  5. disconnect() {
  6. return null;
  7. }
  8. observe() {
  9. return null;
  10. }
  11. takeRecords() {
  12. return [];
  13. }
  14. unobserve() {
  15. return null;
  16. }
  17. }
  18. window.IntersectionObserver = IntersectionObserver;
  19. global.IntersectionObserver = IntersectionObserver;