Commit a084fc12 authored by zjz1994's avatar zjz1994

代码暂存

parent 544c681a
...@@ -105,6 +105,10 @@ export default class WebView extends egret.DisplayObjectContainer { ...@@ -105,6 +105,10 @@ export default class WebView extends egret.DisplayObjectContainer {
this.closebtn.style.width = 50*tscaleX+"px"; this.closebtn.style.width = 50*tscaleX+"px";
this.closebtn.style.height = 50*tscaleY+"px"; this.closebtn.style.height = 50*tscaleY+"px";
this.closebtn.addEventListener("click",this.clickCloseBtn.bind(this),false); this.closebtn.addEventListener("click",this.clickCloseBtn.bind(this),false);
this._iframe.onload = function(){
console.log("_iframe Onload",this);
}
} }
clickCloseBtn(){ clickCloseBtn(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment