Options
All
  • Public
  • Public/Protected
  • All
Menu

External module event

事件相关

Index

Variables

Const BlockEvents

BlockEvents: SystemEventType[] = [SystemEventType.TOUCH_START, SystemEventType.TOUCH_END, SystemEventType.TOUCH_MOVE,SystemEventType.MOUSE_DOWN, SystemEventType.MOUSE_MOVE, SystemEventType.MOUSE_UP,SystemEventType.MOUSE_ENTER, SystemEventType.MOUSE_LEAVE, SystemEventType.MOUSE_WHEEL]

Const ListenerID

ListenerID: object = EventListener.ListenerID

Type declaration

  • ACCELERATION: string
  • KEYBOARD: string
  • MOUSE: string
  • TOUCH_ALL_AT_ONCE: string
  • TOUCH_ONE_BY_ONE: string

Const _vec2

_vec2: Vec2 = new Vec2()

Let accelerationListener

accelerationListener: EventListener | null = null

Const fastRemove

fastRemove: fastRemove = js.array.fastRemove

Let keyboardListener

keyboardListener: EventListener | null = null

Let mouseListener

mouseListener: EventListener | null = null

Const systemEvent

systemEvent: SystemEvent = new SystemEvent()

系统事件单例,方便全局使用。

Let touchListener

touchListener: EventListener | null = null

Functions

applyMixins

  • applyMixins(derivedCtor: any, baseCtors: any[]): void

stopPropagation

  • stopPropagation(event: Event): void

Generated using TypeDoc