Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EventDispatcher

Hierarchy

  • EventDispatcher

Implemented by

Index

Methods

Methods

off

  • off(type: string, handler?: undefined | ((event: Event) => void)): Object
  • Removes a handler from event type. If no handler is provided, all handlers will be removed from the event

    Parameters

    • type: string
    • Optional handler: undefined | ((event: Event) => void)

    Returns Object

    The object that dispatched the event

on

once

  • once(type: string, handler: (event: Event) => void): Object

Generated using TypeDoc