@moxijs/ui - v0.3.5
    Preparing search index...

    Interface CardPanelProps

    CardPanel configuration

    interface CardPanelProps {
        backgroundColor?: number;
        bodyHeight: number;
        bodyWidth: number;
        clipContent?: boolean;
        colors?: Partial<CardThemeColors>;
        draggable?: boolean;
        footer?: CardPanelFooter;
        minHeight?: number;
        minWidth?: number;
        onFocus?: () => void;
        onMove?: (x: number, y: number) => void;
        onResize?: (width: number, height: number) => void;
        resizable?: boolean | ResizeDirection[];
        style?: CardStyle;
        title?: CardPanelTitle;
    }
    Index

    Properties

    backgroundColor?: number

    Background color override

    bodyHeight: number

    Body height

    bodyWidth: number

    Body width

    clipContent?: boolean

    Clip content to body bounds (default: false)

    colors?: Partial<CardThemeColors>

    Theme colors (override automatic theme resolution)

    draggable?: boolean

    Enable dragging (default: false)

    Footer configuration (optional)

    minHeight?: number

    Minimum body height when resizing

    minWidth?: number

    Minimum body width when resizing

    onFocus?: () => void

    Called when card is focused/clicked

    onMove?: (x: number, y: number) => void

    Called when card position changes (drag end)

    onResize?: (width: number, height: number) => void

    Called when card is resized

    resizable?: boolean | ResizeDirection[]

    Enable resizing (default: false, or specify allowed directions)

    style?: CardStyle

    Custom card style (default: FlatCardStyle)

    Title configuration (optional - if omitted, no title bar shown)