InputEvent Properties

The InputEvent type exposes the following members.

Properties
  NameDescription
Public propertyBubbles
Used to indicate whether or not an event is a bubbling event. If the event can bubble the value is true, else the value is false.
(Inherited from Event.)
Public propertyCancelable
Used to indicate whether or not an event can have its default action prevented. If the default action can be prevented the value is true, else the value is false.
(Inherited from Event.)
Public propertyCurrentTarget
Used to indicate the IEventTarget whose IEventListeners are currently being processed. This is particularly useful during capturing and bubbling.
(Inherited from Event.)
Public propertyData
The data holds the value of the characters generated by an input method. This MAY be a single Unicode character or a non-empty sequence of Unicode characters [Unicode]. Characters SHOULD be normalized as defined by the Unicode normalization form NFC, defined in [UAX15]. This attribute MAY contain the empty string.
Public propertyDefaultPrevented
Returns true if preventDefault() was invoked while the cancelable attribute value is true, and false otherwise.
(Inherited from Event.)
Public propertyDetail
Specifies some detail information about the Event, depending on the type of event.
(Inherited from UIEvent.)
Public propertyEventPhase
Used to indicate which phase of event flow is currently being evaluated.
(Inherited from Event.)
Public propertyIsComposing
true if the input event occurs as part of a composition session, i.e., after a compositionstart event and before the corresponding compositionend event. The un-initialized value of this attribute MUST be false.
Public propertyIsTrusted
The isTrusted attribute must return the value it was initialized to. When an event is created the attribute must be initialized to false.
(Inherited from Event.)
Public propertyTarget
Used to indicate the IEventTarget to which the event was originally dispatched.
(Inherited from Event.)
Public propertyTimeStamp
Used to specify the time (in milliseconds relative to the epoch) at which the event was created. Due to the fact that some systems may not provide this information the value of timeStamp may be not available for all events. When not available, a value of 0 will be returned. Examples of epoch time are the time of the system start or 0:0:0 UTC 1st January 1970.
(Inherited from Event.)
Public propertyType
The name of the event (case-insensitive). The name must be an XML name.
(Inherited from Event.)
Public propertyView
The view attribute identifies the Window from which the event was generated. The un-initialized value of this attribute MUST be null.
(Inherited from UIEvent.)
See Also