TGridPlaceContent
type
Layout & Sizing
Shorthand alignment for the full grid track set inside its container (align-content + justify-content) — mirrors the CSS Box Alignment matrix used by OrigamGrid.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Accepted
Values
Accepted string literal values for this type. Click a value to copy it.
- center
- Centers the track bundle in the available space.
- space-around
- Equal space around each track; half that space at the edges.
- space-between
- Equal space between tracks; no space at the edges.
- space-evenly
- Equal space between every track and both edges.
- stretch
- Stretches tracks to fill the container (default when tracks have auto sizing).
- end
- Packs all tracks against the end edge of the container.
- start
- Packs all tracks against the start edge of the container.
Ecosystem
Used by
Components and props that accept this type as a value.
Usage
Examples
Ready-to-paste code snippets using this type.
Center the entire grid vertically and horizontally