WheelEvent Properties |
The WheelEvent type exposes the following members.
Name | Description | |
---|---|---|
![]() | AltKey |
Refer to the altKey attribute.
(Inherited from MouseEvent.) |
![]() | Bubbles |
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.) |
![]() | Button |
During mouse events caused by the depression or release of a mouse button, button MUST be used to indicate which pointer device button changed state.
(Inherited from MouseEvent.) |
![]() | Buttons |
During any mouse events, buttons MUST be used to indicate which combination of mouse buttons are currently being pressed, expressed as a bitmask.
(Inherited from MouseEvent.) |
![]() | Cancelable |
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.) |
![]() | ClientX |
The horizontal coordinate at which the event occurred relative to the viewport associated with the event.
(Inherited from MouseEvent.) |
![]() | ClientY |
The vertical coordinate at which the event occurred relative to the viewport associated with the event.
(Inherited from MouseEvent.) |
![]() | CtrlKey |
Refer to the ctrlKey attribute.
(Inherited from MouseEvent.) |
![]() | CurrentTarget |
Used to indicate the IEventTarget whose IEventListeners are currently being processed.
This is particularly useful during capturing and bubbling.
(Inherited from Event.) |
![]() | DefaultPrevented |
Returns true if preventDefault() was invoked while the cancelable attribute value is true, and false otherwise.
(Inherited from Event.) |
![]() | DeltaMode |
The deltaMode attribute contains an indication of the units of measurement for the delta values. The default value is DOM_DELTA_PIXEL (pixels).
|
![]() | DeltaX |
In user agents where the default action of the wheel event is to scroll, the value MUST be the measurement along the x-axis (in pixels, lines, or pages) to be scrolled in the case where the event is not cancelled. Otherwise, this is an implementation-specific measurement (in pixels, lines, or pages) of the movement of a wheel device around the x-axis.
|
![]() | DeltaY |
In user agents where the default action of the wheel event is to scroll, the value MUST be the measurement along the y-axis (in pixels, lines, or pages) to be scrolled in the case where the event is not cancelled. Otherwise, this is an implementation-specific measurement (in pixels, lines, or pages) of the movement of a wheel device around the y-axis.
|
![]() | DeltaZ |
In user agents where the default action of the wheel event is to scroll, the value MUST be the measurement along the z-axis (in pixels, lines, or pages) to be scrolled in the case where the event is not cancelled. Otherwise, this is an implementation-specific measurement (in pixels, lines, or pages) of the movement of a wheel device around the z-axis.
|
![]() | Detail |
Specifies some detail information about the Event, depending on the type of event.
(Inherited from UIEvent.) |
![]() | EventPhase |
Used to indicate which phase of event flow is currently being evaluated.
(Inherited from Event.) |
![]() | IsTrusted |
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.) |
![]() | MetaKey |
Refer to the metaKey attribute.
(Inherited from MouseEvent.) |
![]() | RelatedTarget |
Used to identify a secondary EventTarget related to a UI event, depending on the type of event.
(Inherited from MouseEvent.) |
![]() | ScreenX |
The horizontal coordinate at which the event occurred relative to the origin of the screen coordinate system.
(Inherited from MouseEvent.) |
![]() | ScreenY |
The vertical coordinate at which the event occurred relative to the origin of the screen coordinate system.
(Inherited from MouseEvent.) |
![]() | ShiftKey |
Refer to the shiftKey attribute.
(Inherited from MouseEvent.) |
![]() | Target |
Used to indicate the IEventTarget to which the event was originally dispatched.
(Inherited from Event.) |
![]() | TimeStamp |
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.) |
![]() | Type |
The name of the event (case-insensitive). The name must be an XML name.
(Inherited from Event.) |
![]() | View |
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.) |