GRID_PLACE_CONTENT
const
Layout & Sizing
Closed list of valid alignContent / justifyContent values for OrigamGrid. Extends GRID_PLACE_ITEMS with distribution keywords (space-between, space-around, space-evenly).
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Entries
Values
All entries in this constant. Click a value to copy it to clipboard.
- 'start'
- Pack content toward the start of the axis.
- 'center'
- Center content along the axis.
- 'end'
- Pack content toward the end of the axis.
- 'stretch'
- Stretch content to fill the grid container.
- 'space-between'
- Even gaps between tracks; no leading/trailing gap.
- 'space-around'
- Equal space around each track.
- 'space-evenly'
- Equal space between tracks and at edges.
Ecosystem
Used by
Composables and components that consume this constant.
OrigamGrid
Usage
Examples
Ready-to-paste code snippets using this constant.
Populating a select with valid content-placement values