WebCAD-Lib-TS API 文档 - v1.0.0
Preparing search index...
DocumentOpeningEventArgs
Interface DocumentOpeningEventArgs
文档打开中事件参数(可取消)
interface
DocumentOpeningEventArgs
{
timestamp
:
number
;
customData
?:
any
;
cancel
:
boolean
;
cancelReason
?:
string
;
filePath
?:
string
;
fileName
?:
string
;
source
?:
"server"
|
"local"
|
"import"
;
}
Hierarchy (
View Summary
)
CancellableEventArgs
DocumentOpeningEventArgs
Index
Properties
timestamp
custom
Data?
cancel
cancel
Reason?
file
Path?
file
Name?
source?
Properties
timestamp
timestamp
:
number
事件发生的时间戳
Optional
custom
Data
customData
?:
any
自定义数据,二次开发者可以附加额外信息
cancel
cancel
:
boolean
设置为 true 将取消该操作
Optional
cancel
Reason
cancelReason
?:
string
取消原因说明
Optional
file
Path
filePath
?:
string
文件路径或URL
Optional
file
Name
fileName
?:
string
文件名
Optional
source
source
?:
"server"
|
"local"
|
"import"
打开来源类型
Settings
Member Visibility
Protected
Internal
Alpha
Beta
Theme
OS
Light
Dark
On This Page
Properties
timestamp
custom
Data
cancel
cancel
Reason
file
Path
file
Name
source
WebCAD-Lib-TS API 文档 - v1.0.0
Loading...
文档打开中事件参数(可取消)