blessed-components - v1.20.0
    Preparing search index...

    Interface DashboardGridHandle

    Shared imperative contract implemented by Blessed component adapters.

    Adapters own one element but never own the parent screen. Imperative data updates do not call screen.render(), which lets applications batch them before flushing the terminal. Interactive adapters may render after direct keyboard or mouse input so focus and selection feedback is immediately visible.

    interface DashboardGridHandle {
        columns(): number;
        contentHeight(): number;
        layout(): void;
        slot(id: string): BoxElement | undefined;
        slots: ReadonlyMap<string, BoxElement>;
        element: BoxElement;
        destroy(): void;
        setData(data: DashboardGridData): void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    slots: ReadonlyMap<string, BoxElement>
    element: BoxElement

    Underlying Blessed element available for standard element operations.

    Methods