IConfigurableDocument

interface
Utilities

Allows injecting a custom document reference — useful for iframes, shadow DOM, or SSR environments where the global document may not be available.

TypeScript

Definition

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

typescript

API

Properties

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

document
Document
Custom Document reference. Defaults to the global window.document when not provided.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Passing a custom document for iframe support

typescript