From 61a8155fb37dee0daf1b3416caec7d358f327966 Mon Sep 17 00:00:00 2001 From: Andy Li Date: Mon, 7 Sep 2015 17:29:27 +0800 Subject: [PATCH] Completed the list of copied props of jQuery.Event. Source ref: https://github.com/jquery/jquery/blob/master/src/event.js (props, keyHooks.props, mouseHooks.props) --- categories.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/categories.xml b/categories.xml index d4941b0e..d43d8929 100644 --- a/categories.xml +++ b/categories.xml @@ -143,7 +143,7 @@ jQuery( "body" ).trigger( e );

The following properties are also copied to the event object, though some of their values may be undefined depending on the event:

-

altKey, bubbles, button, cancelable, charCode, clientX, clientY, ctrlKey, currentTarget, data, detail, eventPhase, metaKey, offsetX, offsetY, originalTarget, pageX, pageY, relatedTarget, screenX, screenY, shiftKey, target, view, which

+

altKey, bubbles, button, buttons, cancelable, char, charCode, clientX, clientY, ctrlKey, currentTarget, data, detail, eventPhase, key, keyCode, metaKey, offsetX, offsetY, originalTarget, pageX, pageY, relatedTarget, screenX, screenY, shiftKey, target, toElement, view, which

OtherProperties

Certain events may have properties specific to them. Those can be accessed as properties of the event.originalEvent object.

Example: