@cas-smartdesign/z-layout
v7.0.0
Published
A custom element which positions child elements sequentially (from left to right, top to bottom).
Readme
@cas-smartdesign/z-layout
A custom element which positions child elements sequentially (from left to right, top to bottom).
Attributes
column-width: string- Defines the minimum column width for the layout
- Configurable via the
--z-layout-column-widthas well.- If both an Attribute and a CSS Custom Property is set then the former one is applied as it is used via an element.style property.
fixed-columns: boolean- If set the column-width is not only considered as a minimum width but a regular width, thus children do not stretch or grow.
CSS Custom Properties
--z-layout-column-width- See
column-widthin the attributes section
- See
--z-layout-spacing- Defines the spacing around the elements inside the layout
