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