g
attribute or g-role
attribute¶
Type: Enumerated string
Default: "none"
Allows breakdown by screen size: No
Description: The role of the control in a grid system aligned layout.
Value | Description |
---|---|
"none" |
The control does not align using the grid system. |
"row" |
Row role - The control occupies an entire line in the 12-column division. |
"col" |
Column role - The control's width is defined by the g-width attribute. |
"container" |
Container role - Similar to the row role, but the control's width is limited to avoid growing too wide. |
"block" |
Block role - The control's width is defined in pixels by its width attribute. |
Note
g
is just a shorthand for g-role