jQuery Event Properties

Last Updated:

jQuery Event Properties

The following are the list of Event properties available in jQuery.

MethodExplanation
currentTarget Returns the current DOM element within the event bubbling phase.
data Contains the optional object of data passed to an event method when the current executing handler is bound.
delegateTarget Returns the element where the currently-called jQuery event handler was attached.
metaKey Indicates whether the META key was pressed when the event fired.
namespace Returns the custom namespace when the event was triggered.
pageX Returns the mouse position relative to the left edge of the document.
pageY Returns the mouse position relative to the top edge of the document.
relatedTarget Returns which element being entered or exited on mouse movement.
result Contains the last value returned by an event handler that was triggered by this event.
target Returns which DOM element initiated the event.
timeStamp Returns the difference in milliseconds between the time the browser created the event and January 1, 1970.
type Returns which event type was triggered.
which Returns which keyboard key or mouse button was pressed for the event.

Share this Page

Meet the Author