BackgroundImageLoadEvent interface 参考
适用版本:@shengwang/whiteboard 0.2.11。
背景图加载结果事件数据。
可从 @shengwang/whiteboard 直接导入 BackgroundImageLoadEvent。仅用于类型声明,不能作为构造函数调用 new。
类型结构(源码声明)
下方源码文件的 export 声明不等同于 SDK 包入口导出;业务导入方式以上方说明为准。
export interface BackgroundImageLoadEvent
| name | name: 'backgroundImageLoad' |
| state | state: 'success' | 'failed' | 'cancelled' |
| source | source: BackgroundImageSource |
| resourceId | resourceId: string |
| resourceUrl | resourceUrl: string |
| viewId | viewId: string |
| scenePath | scenePath: string |
变量说明
name
name: 'backgroundImageLoad'
state
state: 'success' | 'failed' | 'cancelled'
source
source: BackgroundImageSource
resourceId
resourceId: string
resourceUrl
resourceUrl: string
viewId
viewId: string
scenePath
scenePath: string