WebCAD-Lib-TS API 文档 - v1.0.0
Preparing search index...
DocumentCachedEventArgs
Interface DocumentCachedEventArgs
文档已缓存事件参数
interface
DocumentCachedEventArgs
{
timestamp
:
number
;
customData
?:
any
;
document
:
CadDocument
;
cacheKey
:
string
;
storageType
:
"file"
|
"indexedDB"
|
"localStorage"
;
cacheSize
?:
number
;
success
:
boolean
;
}
Hierarchy (
View Summary
)
CadEventArgs
DocumentCachedEventArgs
Index
Properties
timestamp
custom
Data?
document
cache
Key
storage
Type
cache
Size?
success
Properties
timestamp
timestamp
:
number
事件发生的时间戳
Optional
custom
Data
customData
?:
any
自定义数据,二次开发者可以附加额外信息
document
document
:
CadDocument
已缓存的文档
cache
Key
cacheKey
:
string
缓存键名
storage
Type
storageType
:
"file"
|
"indexedDB"
|
"localStorage"
缓存存储类型
Optional
cache
Size
cacheSize
?:
number
缓存大小(字节)
success
success
:
boolean
是否成功
Settings
Member Visibility
Protected
Internal
Alpha
Beta
Theme
OS
Light
Dark
On This Page
Properties
timestamp
custom
Data
document
cache
Key
storage
Type
cache
Size
success
WebCAD-Lib-TS API 文档 - v1.0.0
Loading...
文档已缓存事件参数