示例#1
0
 public HtmlElement(string namespaceUri, string name)
 {
     _handle = new JSHandle();
     ApplicationComponent.Add(_handle.Id, this);
     NamespaceUri = namespaceUri;
     Name         = name;
 }
示例#2
0
文件: Window.cs 项目: Ref12/Grazor
 public static void SetApplicationListener(IHtmlApplicationListener listener)
 {
     ApplicationListenerHandle = new JSHandle();
     ApplicationComponent.Add(ApplicationListenerHandle.Id, listener);
     InteropBridge.SendMessage(InteropCall.HandleApplicationEvents, ApplicationListenerHandle.Id);
 }