示例#1
0
 public JavascriptWebViewClient(string javascript, TLExtensionWebViewRenderer renderer)
 {
     _javascript = javascript;
     _renderer   = renderer ?? throw new ArgumentNullException("renderer");
     openBrowser = false;
 }
示例#2
0
 public JSBridge(TLExtensionWebViewRenderer inputRenderer)
 {
     renderer = new WeakReference <TLExtensionWebViewRenderer>(inputRenderer);
 }