예제 #1
0
 public void AddEventListener(String type, DomEventHandler callback = null, Boolean capture = false)
 {
     _host.AddEventListener(type, callback, capture);
 }
예제 #2
0
 public static void AddUnload(this IElement element, DomEventHandler handler) =>
 element.AddEventListener("unload", handler);
예제 #3
0
 public static void AddContextMenu(this IElement element, DomEventHandler handler) =>
 element.AddEventListener("contextmenu", handler);
예제 #4
0
 public static void AddFocusOut(this IElement element, DomEventHandler handler) =>
 element.AddEventListener("focusout", handler);