IColProps

interface
Layout

Props for OrigamCol — a responsive grid column that accepts breakpoint spans (cols/sm/md/lg/xl/xxl), column offsets, order, color and spacing.

TypeScript

Définition

La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.

typescript

Héritage

Hérite de

Interfaces parentes dont celle-ci hérite. Leurs propriétés sont disponibles pour tout consommateur de cette interface.

API

Propriétés

Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.

cols
TCols
Column span for all breakpoints (1–12 or "auto").
sm
TCols
Column span applied at the sm breakpoint and above.
md
TCols
Column span applied at the md breakpoint and above.
lg
TCols
Column span applied at the lg breakpoint and above.
xl
TCols
Column span applied at the xl breakpoint and above.
xxl
TCols
Column span applied at the xxl breakpoint and above.
offset
Omit<TCols, '12'>
Column offset for all breakpoints (1–11 or "auto").
offsetSm
Omit<TCols, '12'>
Column offset applied at the sm breakpoint and above.
offsetMd
Omit<TCols, '12'>
Column offset applied at the md breakpoint and above.
offsetLg
Omit<TCols, '12'>
Column offset applied at the lg breakpoint and above.
offsetXl
Omit<TCols, '12'>
Column offset applied at the xl breakpoint and above.
offsetXxl
Omit<TCols, '12'>
Column offset applied at the xxl breakpoint and above.
order
number
CSS order for all breakpoints.
orderSm
number
CSS order applied at the sm breakpoint and above.
orderMd
number
CSS order applied at the md breakpoint and above.
orderLg
number
CSS order applied at the lg breakpoint and above.
orderXl
number
CSS order applied at the xl breakpoint and above.
orderXxl
number
CSS order applied at the xxl breakpoint and above.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

Extraits de code prêts à coller utilisant cette interface.

Responsive column with breakpoint spans

vue