Ver Fonte

Added missing jQuery event fields. (See #4528)

Andy Li há 10 anos atrás
pai
commit
91880af341
1 ficheiros alterados com 18 adições e 0 exclusões
  1. 18 0
      std/js/jquery/Event.hx

+ 18 - 0
std/js/jquery/Event.hx

@@ -49,4 +49,22 @@ package js.jquery;
 		For key or mouse events, this property indicates the specific key or button that was pressed.
 	**/
 	public var which : Float;
+	public var altKey : Bool;
+	public var button : Int;
+	public var buttons : Int;
+	public var char : Int;
+	public var charCode : Int;
+	public var clientX : Int;
+	public var clientY : Int;
+	public var ctrlKey : Bool;
+	public var detail : Int;
+	public var key : String;
+	public var keyCode : Int;
+	public var offsetX : Int;
+	public var offsetY : Int;
+	public var screenX : Int;
+	public var screenY : Int;
+	public var shiftKey : Bool;
+	public var toElement : js.html.Element;
+	public var view : js.html.Window;
 }