Variables
charCode:Int
Returns a Number representing the Unicode reference number of the key; this attribute is used only by the keypress event. For keys whose char attribute contains multiple characters, this is the Unicode value of the first character in that attribute. In Firefox 26 this returns codes for printable characters.
Warning: This attribute is deprecated; you should use KeyboardEvent.key instead, if available.
data:Dynamic
An optional object of data passed to an event method when the current executing handler is bound.
keyCode:Int
Returns a Number representing a system and implementation dependent numerical code identifying the unmodified value of the pressed key.
Warning: This attribute is deprecated; you should use KeyboardEvent.key instead, if available.
result:Dynamic
The last value returned by an event handler that was triggered by this event, unless the value was undefined.
Methods
inlinegetThis():JQuery
A convenient method of getting $(this), which is typically the same as $(evt.currentTarget).
For detail, refer to https://api.jquery.com/event.currenttarget/.
isDefaultPrevented():Bool
Returns whether event.preventDefault() was ever called on this event object.
isImmediatePropagationStopped():Bool
Returns whether event.stopImmediatePropagation() was ever called on this event object.
isPropagationStopped():Bool
Returns whether event.stopPropagation() was ever called on this event object.