DIMENSIONS_ARRAY

const
Layout & Sizing

Ordered array of all six dimension prop names (height, maxHeight, maxWidth, minHeight, minWidth, width) consumed by useDimension to iterate the full surface.

TypeScript

Definition

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

typescript

Entries

Values

All entries in this constant. Click a value to copy it to clipboard.

DIMENSIONS.HEIGHT
The height dimension prop name.
DIMENSIONS.MAX_HEIGHT
The maxHeight dimension prop name.
DIMENSIONS.MAX_WIDTH
The maxWidth dimension prop name.
DIMENSIONS.MIN_HEIGHT
The minHeight dimension prop name.
DIMENSIONS.MIN_WIDTH
The minWidth dimension prop name.
DIMENSIONS.WIDTH
The width dimension prop name.

Ecosystem

Used by

Composables and components that consume this constant.

Usage

Examples

Ready-to-paste code snippets using this constant.

Iterating the dimension names

typescript