Orca Note Plugin API Documentation
    Preparing search index...

    Interface ViewPanel

    Represents a view panel that displays content (journal or block). These are the leaf panels in the panel hierarchy that actually render content.

    interface ViewPanel {
        height?: number;
        id: string;
        locked?: boolean;
        view: PanelView;
        viewArgs: Record<string, any>;
        viewState: Record<string, any>;
        wide?: boolean;
        width?: number;
    }
    Index

    Properties

    height?: number

    Optional height of the panel in pixels

    id: string

    Unique identifier for the view panel

    locked?: boolean

    Whether the panel is locked and cannot be closed or resized

    view: PanelView

    Type of view displayed in this panel (journal or block)

    viewArgs: Record<string, any>

    Arguments for the view, such as blockId for block views or date for journal views

    viewState: Record<string, any>

    State of the view, used to preserve UI state like scroll position or editor selections

    wide?: boolean

    Whether the panel should take up extra space when available

    width?: number

    Optional width of the panel in pixels