Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • LiteEvent

Implements

Implemented by

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private handlers

handlers: ((...args: unknown[]) => any)[] = []

Methods

emit

  • emit(...args: unknown[]): void

expose

off

  • off(handler: (...args: unknown[]) => any): void
  • off(handler: (...args: unknown[]) => any): void
  • Parameters

    • handler: (...args: unknown[]) => any
        • (...args: unknown[]): any
        • Parameters

          • Rest ...args: unknown[]

          Returns any

    Returns void

  • Parameters

    • handler: (...args: unknown[]) => any
        • (...args: unknown[]): any
        • Parameters

          • Rest ...args: unknown[]

          Returns any

    Returns void

on

  • on(handler: (...args: unknown[]) => any): void
  • on(handler: (...args: unknown[]) => any): void
  • Parameters

    • handler: (...args: unknown[]) => any
        • (...args: unknown[]): any
        • Parameters

          • Rest ...args: unknown[]

          Returns any

    Returns void

  • Parameters

    • handler: (...args: unknown[]) => any
        • (...args: unknown[]): any
        • Parameters

          • Rest ...args: unknown[]

          Returns any

    Returns void

Generated using TypeDoc