Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Event<Listener>

Type parameters

  • Listener: function

Hierarchy

  • Event

Callable

  • __call(listener: Listener): object
  • Adds a listener to the event.

    Parameters

    • listener: Listener

    Returns object

    • dispose: function
        • (): void
        • Returns void

Index

Methods

Methods

off

  • off(listener: Listener): void
  • Removes a listener from the event.

    Parameters

    • listener: Listener

    Returns void