This fragment is not requested on page load. Scroll down until the dashed placeholder
enters the viewport; revealed then fetches it once.
Placeholder — not loaded yet.
revealed creates an IntersectionObserver and watches the trigger element.#lazy-content.intersect works the same way but stays connected and requests on every entry.IntersectionObserver fall back to loading immediately.<div minu-get="/demo/lazy"
minu-trigger="revealed"
minu-target="#lazy-content">
<div id="lazy-content"></div>
</div>
Use revealed for below-the-fold sections and images.
Use intersect when content should refresh every time it becomes visible.