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
Définition
La définition TypeScript telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.
Acceptées
Valeurs
Valeurs littérales de chaîne acceptées pour ce type. Cliquez sur une valeur pour la copier.
- 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.
Écosystème
Utilisé par
Composants et props qui acceptent ce type comme valeur.
Usage
Exemples
Extraits de code prêts à coller utilisant ce type.
Center the entire grid vertically and horizontally