Browse Source

Added missing jQuery event fields. (See #4528)

Andy Li 10 years ago
parent
commit
91880af341
1 changed files with 18 additions and 0 deletions
  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.
 		For key or mouse events, this property indicates the specific key or button that was pressed.
 	**/
 	**/
 	public var which : Float;
 	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;
 }
 }