PIXI.InteractionEvent

class InteractionEvent

Event class that mimics native DOM events.

Summary


Properties from InteractionEvent

PIXI.DisplayObject
currentTarget

The object whose event listener’s callback is currently being invoked.

PIXI.InteractionData
data

InteractionData related to this event

boolean
stopped

Whether this event will continue propagating in the tree.

PIXI.DisplayObject
target
string
type

Type of the event.

Methods from InteractionEvent

void
reset()

Resets the event.

void
stopPropagation()

Prevents event from reaching any objects other than the current object.

Public Properties


currentTarget InteractionEvent.ts:40
currentTarget: PIXI.DisplayObject

The object whose event listener’s callback is currently being invoked.

data InteractionEvent.ts:46
data: PIXI.InteractionData

InteractionData related to this event

stopped InteractionEvent.ts:12
stopped: boolean

Whether this event will continue propagating in the tree.

Remaining events for the stopsPropagatingAt object will still be dispatched.

target InteractionEvent.ts:34
target: PIXI.DisplayObject

The object which caused this event to be dispatched. For listener callback see PIXI.InteractionEvent.currentTarget.

type InteractionEvent.ts:43
type: string

Type of the event.

Public Methods


reset InteractionEvent.ts:68
reset() → {void}

Resets the event.

Returns:
Type Description
void
stopPropagation InteractionEvent.ts:60
stopPropagation() → {void}

Prevents event from reaching any objects other than the current object.

Returns:
Type Description
void

Powered by webdoc!