Name | Type | Description |
---|---|---|
manager |
PIXI.EventBoundary |
The event boundary which manages this event. Propagation can only occur within the boundary's jurisdiction. |
Implements
- UIEvent
Members
Flags whether this event bubbles. This will take effect only if it is set before propagation.
- Default Value:
- true
Flags whether this event can be canceled using FederatedEvent.preventDefault. This is always false (for now).
- Default Value:
- false
- Default Value:
- true
Flag added for compatibility with DOM Event
. It is not used in the Federated Events
API.
- Default Value:
- false
- See:
currentTarget PIXI.FederatedEventTarget
The listeners of the event target that are being notified.
Fallback for the deprecated PIXI.InteractionEvent.data.
Flags whether the default response of the user agent was prevent through this event.
- Default Value:
- false
Event-specific detail
The propagation phase.
- Default Value:
- FederatedEvent.NONE
Flags whether this is a user-trusted event
layer PIXI.Point
The coordinates of the evnet relative to the nearest DOM layer. This is a non-standard property.
manager PIXI.EventBoundary readonly
The EventBoundary that manages this event. Null for root events.
The native event that caused the foremost original event.
originalEvent PIXI.FederatedEvent<N>
The original event that caused this event, if any.
page PIXI.Point
The coordinates of the event relative to the DOM document. This is a non-standard property.
path PIXI.FederatedEventTarget[]
The composed path of the event's propagation. The target
is at the end.
Flags whether propagation was immediately stopped.
- Default Value:
- false
Flags whether propagation was stopped.
- Default Value:
- false
target PIXI.FederatedEventTarget
The event target that this will be dispatched to.
The timestamp of when the event was created.
The type of event, e.g. "mouseup"
.
The global Window object.
Not supported.
Methods
composedPath () PIXI.FederatedEventTarget[]
The propagation path for this event. Alias for EventBoundary.propagationPath.
Returns:
Type | Description |
---|---|
PIXI.FederatedEventTarget[] |
Unimplemented method included for implementing the DOM interface Event
. It will throw an Error
.
Name | Type | Attributes | Description |
---|---|---|---|
_type |
string | ||
_bubbles |
boolean |
<optional> |
|
_cancelable |
boolean |
<optional> |
Unimplemented method included for implementing the DOM interface UIEvent
. It will throw an Error
.
Name | Type | Attributes | Description |
---|---|---|---|
_typeArg |
string | ||
_bubblesArg |
boolean |
<optional> |
|
_cancelableArg |
boolean |
<optional> |
|
_viewArg |
Window | null |
<optional> |
|
_detailArg |
number |
<optional> |
Prevent default behavior of PixiJS and the user agent.
Stop this event from propagating to any addition listeners, including on the currentTarget and also the following event targets on the propagation path.
Stop this event from propagating to the next FederatedEventTarget. The rest of the listeners on the currentTarget will still be notified.