Pergunta de entrevista da empresa Constructor

How to detect if an (DOM) element is in the visible viewport?

Resposta da entrevista

Sigiloso

25 de ago. de 2025

The Intersection Observer API provides a way to asynchronously observe changes in the intersection of a target element with an ancestor element or with a top-level document's viewport.