@tarojs/components
Version:
Taro 组件库。
1 lines • 639 B
JavaScript
System.register(["./p-b2d01686.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{position:fixed;top:0;bottom:0;z-index:999;width:100%;height:100%}";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)}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}}}));