IHTMLExpandElement

interface
Utilities

Extended HTMLElement interface used internally by the expand transition utilities — stores the initial style snapshot and the parent reference so the transition can be cleanly reversed.

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.

_parent
(Node & ParentNode & HTMLElement) | null
Reference to the parent element captured at transition start.
_initialStyle
{ transition: string overflow: string height?: string | null width?: string | null }
Snapshot of the element initial transition, overflow, height, and width CSS values, restored on leave.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Internal usage in the expand transition enter hook

typescript