JUSTIFY
enum
Layout & Sizing
Horizontal alignment / justify-content values for flex/grid containers.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Members
Members
All members of this enum. Click a value to copy it to clipboard.
- JUSTIFY.START
- Pack items toward the start of the axis.
- JUSTIFY.END
- Pack items toward the end of the axis.
- JUSTIFY.CENTER
- Center items along the axis.
- JUSTIFY.SPACE_BETWEEN
- Distribute items with equal space between them.
- JUSTIFY.SPACE_AROUND
- Distribute items with equal space around each.
- JUSTIFY.SPACE_EVENLY
- Distribute items so all gaps are equal.
Ecosystem
Used by
Components and props that accept this enum as a value.
Usage
Examples
Ready-to-paste code snippets using this enum.
Using JUSTIFY in script setup