Appearance
网页资源加载
事件名称
onLoadResource
返回示例
js
onLoadResource(e) {
console.log("onLoadResource:" + JSON.stringify(e.detail))
}回调示例
json
{
"type": "onLoadResource",
"timeStamp": 1723431418269,
"target": {
"id": "",
"dataset": {},
"offsetLeft": 0,
"offsetTop": 0
},
"currentTarget": {
"id": "",
"dataset": {},
"offsetLeft": 0,
"offsetTop": 0
},
"detail": {
"url": "https://s.bdstatic.com/common/openjs/amd/eslx.js"
}
}回调说明
| 参数名 | 参数类型 | 参数描述 |
|---|---|---|
| url | String | 当前加载的地址 |
