interface CardPanelGridLayout {
    h: number;
    i: string;
    isDraggable?: boolean;
    isResizable?: boolean;
    maxH?: number;
    maxW?: number;
    minH?: number;
    minW?: number;
    moved?: boolean;
    static?: boolean;
    w: number;
    x: number;
    y: number;
}

Properties

h: number

Height in grid units.

i: string

A string corresponding to the component key. Uses the index of components instead if not provided.

isDraggable?: boolean

If false, will not be draggable. Overrides static.

isResizable?: boolean

If false, will not be resizable. Overrides static.

maxH?: number

Maximum height in grid units.

maxW?: number

Maximum width in grid units.

minH?: number

Minimum height in grid units.

minW?: number

Minimum width in grid units.

moved?: boolean

set by DragEvents (onDragStart, onDrag, onDragStop) and ResizeEvents (onResizeStart, onResize, onResizeStop)

static?: boolean

If true, equal to isDraggable: false and isResizable: false.

w: number

Width in grid units.

x: number

X position in grid units.

y: number

Y position in grid units.