PIXI.FederatedWheelEvent
class FederatedWheelEvent extends PIXI.FederatedMouseEvent implements WheelEvent
A PIXI.FederatedEvent for wheel events.
Constructor
new PIXI.FederatedWheelEvent() → {}
Summary
Properties from FederatedWheelEvent
| number |
|
| number |
Horizontal scroll amount |
| number |
Vertical scroll amount |
| number |
z-axis scroll amount. |
| number |
Units specified in lines. |
| number |
Units specified in pages. |
| number |
Units specified in pixels. |
Properties inherited from FederatedMouseEvent
| boolean |
Whether the "alt" key was pressed when this mouse event occurred. |
| number |
The specific button that was pressed in this mouse event. |
| number |
The button depressed when this event occurred. |
| PIXI.Point |
The coordinates of the mouse event relative to the canvas. |
| number |
|
| number |
|
| boolean |
Whether the "control" key was pressed when this mouse event occurred. |
| number |
This is the number of clicks that occurs in 200ms/click of each other. |
| PIXI.Point |
The pointer coordinates in world space. |
| number |
|
| number |
|
| boolean |
Whether the "meta" key was pressed when this mouse event occurred. |
| PIXI.Point |
The movement in this pointer relative to the last |
| number |
|
| number |
|
| PIXI.Point |
|
| number |
|
| number |
|
| EventTarget |
This is currently not implemented in the Federated Events API. |
| PIXI.Point |
|
| number |
|
| number |
|
| boolean |
Whether the "shift" key was pressed when this mouse event occurred. |
| number |
|
| number |
|
Properties inherited from FederatedEvent
| boolean |
Flags whether this event bubbles. This will take effect only if it is set before propagation. |
| boolean |
|
| boolean |
|
| boolean |
|
| PIXI.FederatedEventTarget |
The listeners of the event target that are being notified. |
| this |
|
| boolean |
Flags whether the default response of the user agent was prevent through this event. |
|
|
|
| boolean |
Flags whether this is a user-trusted event |
| PIXI.Point |
The coordinates of the evnet relative to the nearest DOM layer. This is a non-standard property. |
| number |
|
| number |
|
| PIXI.EventBoundary |
The EventBoundary that manages this event. Null for root events. |
| N |
The native event that caused the foremost original event. |
| PIXI.FederatedEvent<N> |
The original event that caused this event, if any. |
| PIXI.Point |
The coordinates of the event relative to the DOM document. This is a non-standard property. |
| number |
|
| number |
|
| PIXI.FederatedEventTarget[] |
The composed path of the event's propagation. The |
| boolean |
Flags whether propagation was immediately stopped. |
| boolean |
Flags whether propagation was stopped. |
| boolean |
|
| EventTarget |
|
| PIXI.FederatedEventTarget |
The event target that this will be dispatched to. |
| number |
The timestamp of when the event was created. |
| string |
The type of event, e.g. |
| WindowProxy |
The global Window object. |
| number |
|
Methods inherited from FederatedMouseEvent
Methods inherited from FederatedEvent
| PIXI.FederatedEventTarget[] |
The propagation path for this event. Alias for EventBoundary.propagationPath. |
| void |
|
| void |
Prevent default behavior of PixiJS and the user agent. |
| void |
|
| void |
|
Public Properties
deltaMode: number
The units of deltaX, deltaY, and deltaZ. This is one of DOM_DELTA_LINE,
DOM_DELTA_PAGE, DOM_DELTA_PIXEL.