ILazyComponentProps

interface
Layout & Sizing

Props for OrigamLazy — extends the common, dimension, tag and transition contracts with IntersectionObserver options and a v-model visibility toggle.

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Inheritance

Extends

Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.

API

Properties

Every property declared by this interface, with its type, optionality and default.

modelValue
boolean
Controlled visibility — when provided, overrides intersection-based visibility.
options
IntersectionObserverInit
Native IntersectionObserver options: root, rootMargin, threshold.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Lazy-loading an image below the fold

html