Clear Up
SharpKit Reference

Event Class

Namespace: SharpKit.jQuery

Base Types

System.Object

Constructors

Name Description
Event()

Properties

Name Description
altKey
attrChange
attrName
bubbles
button
cancelable
charCode
clientX
clientY
ctrlKey
currentTarget The current DOM element within the event bubbling phase.
data The optional data passed to jQuery.fn.bind when the current executing handler was bound.
delegateTarget The element where the currently-called jQuery event handler was attached.
detail
eventPhase
fromElement
handler
keyCode
layerX
layerY
metaKey
namespace The namespace specified when the event was triggered.
newValue
offsetX
offsetY
originalEvent Certain native events may have special properties that can be accessed as properties of the event.originalEvent object. To make special properties available in all event objects, we can add them to the jQuery.event.props array.
originalTarget
pageX The mouse position relative to the left edge of the document.
pageY The mouse position relative to the top edge of the document.
prevValue
relatedNode
relatedTarget The other DOM element involved in the event, if any.
result The last value returned by an event handler that was triggered by this event, unless the value was undefined.
screenX
screenY
shiftKey
srcElement
target The DOM element that initiated the event.
timeStamp The difference in milliseconds between the time an event is triggered and January 1, 1970.
toElement
type Describes the nature of the event.
view
wheelDelta
which For key or button events, this attribute indicates the specific button or key that was pressed.

Methods

Name Description
isDefaultPrevented() Returns whether event.preventDefault() was ever called on this event object.
isImmediatePropagationStopped() Returns whether event.stopImmediatePropagation() was ever called on this event object.
isPropagationStopped() Returns whether event.stopPropagation() was ever called on this event object.
preventDefault() If this method is called, the default action of the event will not be triggered.
stopImmediatePropagation() Keeps the rest of the handlers from being executed and prevents the event from bubbling up the DOM tree.
stopPropagation() Prevents the event from bubbling up the DOM tree, preventing any parent handlers from being notified of the event.
© Copyright 2005-2011 SharpKit. All rights reserved.