TGridPlaceSelf

type
Layout & Sizing

Per-item override of cell alignment (align-self + justify-self) on a GridItem — same value set as TGridPlaceItems but applied to a single item rather than the entire grid.

TypeScript

Definition

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

typescript

Accepted

Values

Accepted string literal values for this type. Click a value to copy it.

center
Centers this item within its cell on both axes.
stretch
Stretches this item to fill the full cell dimensions.
end
Aligns this item to the end edge of its cell.
start
Aligns this item to the start edge of its cell, overriding the grid-level alignItems.

Ecosystem

Used by

Components and props that accept this type as a value.

Usage

Examples

Ready-to-paste code snippets using this type.

Override alignment on a single item

html