Skip to content

LazyRender

Overview

Defers rendering its default slot until the component scrolls into the viewport, using an IntersectionObserver. Before the content is visible, a placeholder slot is rendered instead, allowing callers to supply a skeleton or spacer.

Slots

default

Slot.

placeholder

Slot.

Source

client/lib/support/LazyRender.vue

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2