UNPKG

@tarojs/components

Version:
1 lines 658 B
System.register(["./p-2b70c348.system.js"],(function(r){"use strict";var t,o,e;return{setters:[function(r){t=r.r;o=r.c;e=r.h}],execute:function(){var n="iframe{border:none}.taro-webview{z-index:999;width:100%;height:100%;position:fixed;top:0;bottom:0}";var i=r("taro_web_view_core",function(){function r(r){t(this,r);this.onLoad=o(this,"load",7);this.onError=o(this,"error",7);this.src=undefined}r.prototype.render=function(){var r=this,t=r.src,o=r.onLoad,n=r.onError;return e("iframe",{class:"taro-webview",onLoad:function(r){r.stopPropagation();o.emit({src:t})},onError:function(r){r.stopPropagation();n.emit({src:t})},src:t})};return r}());i.style=n}}}));