COLS
enum
Layout & Sizing
Grid column span values (1–12) used by the OrigamCol component to set its width within a 12-column grid.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Members
Members
All members of this enum. Click a value to copy it to clipboard.
- COLS.ONE
- Span 1 column (8.33 %).
- COLS.TWO
- Span 2 columns (16.67 %).
- COLS.THREE
- Span 3 columns (25 %).
- COLS.FOUR
- Span 4 columns (33.33 %).
- COLS.FIVE
- Span 5 columns (41.67 %).
- COLS.SIX
- Span 6 columns (50 %).
- COLS.SEVEN
- Span 7 columns (58.33 %).
- COLS.EIGHT
- Span 8 columns (66.67 %).
- COLS.NINE
- Span 9 columns (75 %).
- COLS.TEN
- Span 10 columns (83.33 %).
- COLS.ELEVEN
- Span 11 columns (91.67 %).
- COLS.TWELVE
- Span 12 columns — full width (100 %).
Ecosystem
Used by
Components and props that accept this enum as a value.
Usage
Examples
Ready-to-paste code snippets using this enum.
Using COLS for a half-width column