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

    Interface DocumentRestoredEventArgs

    文档已恢复事件参数

    interface DocumentRestoredEventArgs {
        timestamp: number;
        customData?: any;
        document: CadDocument;
        cacheKey: string;
        source: DocumentStorageSource;
        success: boolean;
        error?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    timestamp: number

    事件发生的时间戳

    customData?: any

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

    document: CadDocument

    恢复的文档

    cacheKey: string

    缓存键名

    来源类型

    success: boolean

    恢复是否成功

    error?: string

    错误信息