WebCAD-Lib-TS API 文档 - v1.0.0
    Preparing search index...

    Interface ContextMenuItemClickedEventArgs

    右键菜单项点击事件参数

    interface ContextMenuItemClickedEventArgs {
        timestamp: number;
        customData?: any;
        document: CadDocument;
        item: ContextMenuItemInfo;
        command?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    timestamp: number

    事件发生的时间戳

    customData?: any

    自定义数据,二次开发者可以附加额外信息

    document: CadDocument

    当前文档

    点击的菜单项

    command?: string

    命令名称(如果是系统命令)