WebCAD-Lib-TS API 文档 - v1.0.0
Preparing search index...
DocumentSavedEventArgs
Interface DocumentSavedEventArgs
文档已保存事件参数
interface
DocumentSavedEventArgs
{
timestamp
:
number
;
customData
?:
any
;
document
:
CadDocument
;
savePath
?:
string
;
saveType
?:
"server"
|
"local"
|
"export"
;
success
:
boolean
;
}
Hierarchy (
View Summary
)
CadEventArgs
DocumentSavedEventArgs
Index
Properties
timestamp
custom
Data?
document
save
Path?
save
Type?
success
Properties
timestamp
timestamp
:
number
事件发生的时间戳
Optional
custom
Data
customData
?:
any
自定义数据,二次开发者可以附加额外信息
document
document
:
CadDocument
已保存的文档对象
Optional
save
Path
savePath
?:
string
保存路径
Optional
save
Type
saveType
?:
"server"
|
"local"
|
"export"
保存类型
success
success
:
boolean
是否保存成功
Settings
Member Visibility
Protected
Internal
Alpha
Beta
Theme
OS
Light
Dark
On This Page
Properties
timestamp
custom
Data
document
save
Path
save
Type
success
WebCAD-Lib-TS API 文档 - v1.0.0
Loading...
文档已保存事件参数