Dockview
    Preparing search index...

    Interface ContextMenuItemConfig

    interface ContextMenuItemConfig {
        action?: () => void;
        component?: unknown;
        componentProps?: object;
        disabled?: boolean;
        element?: HTMLElement;
        label?: string;
    }
    Index

    Properties

    action?: () => void
    component?: unknown

    A framework component to render as the menu item. The component type is opaque to core; the framework adapter renders it.

    componentProps?: object
    disabled?: boolean
    element?: HTMLElement

    A raw DOM element to embed as-is in the context menu. Use this when you want to render custom content without a framework component.

    label?: string