Options
All
  • Public
  • Public/Protected
  • All
Menu

Class IEventDispatcher

Hierarchy

  • IEventDispatcher

Implemented by

Index

Methods

addEventListener

  • addEventListener(type: string, listener: function, useCapture?: boolean, priority?: number, useWeakReference?: boolean): void
  • Parameters

    • type: string
    • listener: function
        • (event: any): void
        • Parameters

          • event: any

          Returns void

    • Optional useCapture: boolean
    • Optional priority: number
    • Optional useWeakReference: boolean

    Returns void

dispatchEvent

  • dispatchEvent(event: Event): boolean

hasEventListener

  • hasEventListener(type: string): boolean

removeEventListener

  • removeEventListener(type: string, listener: function, useCapture?: boolean): void

willTrigger

  • willTrigger(type: string): boolean

Generated using TypeDoc