API reference: @salmonui/layout/dashboard-layout
DashboardLayoutItemtype
import type { DashboardLayoutItem } from '@salmonui/layout/dashboard-layout';type DashboardLayoutItem = GridLayoutItem;
One panel of the layout value, which is also its serialized form.
| Name | Signature | Description |
|---|---|---|
idinherited | id: string; | Stable id (the |
xinherited | x: number; | Column from the inline start, 0-based. |
yinherited | y: number; | Row from the top, 0-based. |
winherited | w: number; | Width in columns. |
hinherited | h: number; | Height in rows. |
minWoptionalinherited | minW?: number; | |
maxWoptionalinherited | maxW?: number; | |
minHoptionalinherited | minH?: number; | |
maxHoptionalinherited | maxH?: number; | |
staticoptionalinherited | static?: boolean; | Never moved or resized, by the user or by other items. |