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

    Interface DocumentSavedEventArgs

    文档已保存事件参数

    interface DocumentSavedEventArgs {
        timestamp: number;
        customData?: any;
        document: CadDocument;
        savePath?: string;
        saveType?: "server" | "local" | "export";
        success: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    timestamp: number

    事件发生的时间戳

    customData?: any

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

    document: CadDocument

    已保存的文档对象

    savePath?: string

    保存路径

    saveType?: "server" | "local" | "export"

    保存类型

    success: boolean

    是否保存成功