DeferredContent

DeferredContent postpones the loading the content that is initially not in the viewport until it becomes visible on scroll.

Scroll down to lazy load an image.
PREVIEW

DeferredContent is used by wrapping the target.

Scroll down to lazy load an image.
basic-demo

A practical example that triggers a fetch when the table becomes visible in viewport.

Scroll down to lazy load a DataTable.
datatable-demo

Screen Reader

DeferredContent can be utilized in many use cases as a result no role is enforced, in fact a role may not be necessary if the card is used for presentational purposes only. Any valid attribute is passed to the container element so you have full control over the roles like landmark and attributes like aria-live.

Keyboard Support

Component does not include any interactive elements.

Theme Designer