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.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- documentDocument
- 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