g3-toolkit API Reference
    Preparing search index...

    Interface TypeMenuItem

    TypeMenuProvider: context-sensitive right-click menus (M12.E3.T2).

    Different menu items based on node type. Adopters register type-specific menu items via the provider interface.

    Framework-agnostic (D6).

    interface TypeMenuItem {
        applicableTypes: string[];
        execute: (nodeId: string, nodeType: string) => void;
        id: string;
        label: string;
    }
    Index

    Properties

    applicableTypes: string[]

    Node types this item applies to. Empty = all types.

    execute: (nodeId: string, nodeType: string) => void
    id: string
    label: string