The key code of the current key or the DOM KeyboardEvent
Indicates whether the current key is being pressed
Indicates whether the event bubbles up through the hierarchy or not.
Indicate whether the event bubbles up through the hierarchy or not.
A reference to the currently registered target for the event.
Indicates which phase of the event flow is currently being evaluated. Returns an integer value represented by 4 constants:
Indicates whether the current key is being pressed
The keyCode read-only property represents a system and implementation dependent numerical code identifying the unmodified value of the pressed key. This is usually the decimal ASCII (RFC 20) or Windows 1252 code corresponding to the key. If the key can't be identified, this value is 0.
Stops propagation for current event immediately, the event won't even be dispatched to the listeners attached in the current target.
Stops propagation for current event.
Raw DOM KeyboardEvent.
A reference to the target to which the event was originally dispatched.
The name of the event (case-sensitive), e.g. "click", "fire", or "submit".
The type code of Acceleration event.
The target phase comprises only the event target node [markdown] (http://www.w3.org/TR/DOM-Level-3-Events/#event-flow)
The bubbling phase comprises any subsequent nodes encountered on the return trip to the root of the hierarchy [markdown] (http://www.w3.org/TR/DOM-Level-3-Events/#event-flow)
The capturing phase comprises the journey from the root to the last node before the event target's node markdown
The type code of Keyboard event.
The type code of Mouse event.
Events not currently dispatched are in this phase.
Code for event without type.
The type code of Touch event.
Gets current target of the event
note: It only be available when the event listener is associated with node.
It returns 0 when the listener is associated with fixed priority.
Gets the event type.
Checks whether the event has been stopped.
Reinitialize the event for being used again after retrieved from the object pool.
The name of the event (case-sensitive), e.g. "click", "fire", or "submit"
A boolean indicating whether the event bubbles up through the tree or not
Reset the event for being stored in the object pool.
Generated using TypeDoc
The keyboard event.