Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PointerDownEvent<U>

Type parameters

  • U

Hierarchy

Index

Constructors

constructor

Properties

Protected _name

_name: string = "pointerdown"

Protected _path

_path: Actor[] = []

Holds the whole path from the Root to the event target

bubbles

bubbles: boolean = true

determines, if event bubbles to the target's ancestors

button

The button pressed (if PointerType.Mouse)

Protected coordinates

coordinates: GlobalCoordinates

The GlobalCoordinates of the event

ev

ev: any

The raw DOM event being handled

index

index: number

The index of the pointer (zero-based)

other

other: U | null

Other target object for this event

pointer

pointer: Pointer

The Pointer of the event

pointerType

pointerType: PointerType

The type of pointer

target

target: Actor

Target object for this event.

Accessors

eventPath

  • get eventPath(): Actor[]

name

  • get name(): string

pagePos

pos

screenPos

worldPos

Methods

Protected _onActionEnd

  • _onActionEnd(actor: Actor): void

Protected _onActionStart

  • _onActionStart(_actor?: Actor): void

action

  • action(): void

layPath

  • layPath(actor: Actor): void

propagate

  • propagate(): void

stopPropagation

  • stopPropagation(): void