就像 jquery中$.ready()

1***@163.com
- 发布:2018-08-25 10:18
- 更新:2018-08-26 10:26
- 阅读:1438
打开的子页面 加载完毕事件是什么???
分类:MUI
2 个回复
1***@163.com (作者) - 91小白
终于找到啦
http://ask.dcloud.net.cn/question/15692
当前页的show监听事件
mui.plusReady(function() {
var self = plus.webview.currentWebview();
self.addEventListener('show',function(){
console.log('show');
...
});
});
1***@163.com (作者) - 91小白
http://www.html5plus.org/doc/zh_cn/webview.html#plus.webview.WebviewObject.onloaded