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

    Interface DocumentSwitchedEventArgs

    文档切换事件参数

    interface DocumentSwitchedEventArgs {
        timestamp: number;
        customData?: any;
        previousDocument: CadDocument;
        currentDocument: CadDocument;
    }

    Hierarchy (View Summary)

    Index

    Properties

    timestamp: number

    事件发生的时间戳

    customData?: any

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

    previousDocument: CadDocument

    之前的活动文档(可能为null)

    currentDocument: CadDocument

    当前的活动文档