Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "ancient-mixins/src/lib/events"

Index

Classes

Interfaces

Variables

Functions

Variables

Const MixedEvents

MixedEvents: TClass<IEvents<IEventsList>> = mixin(class {})

Functions

mixin

  • mixin<T>(superClass: T): any
  • Mixin your class with Events functionality.

    example
    
    import { mixin, IEventsList, IEvents } from 'ancient-mixins/lib/events';
    import { TClass } from 'ancient-mixins/lib/mixins';
    const MyEvents: TClass<IEvents<IEventsList>> = mixin(class {});
    

    Type parameters

    Parameters

    • superClass: T

    Returns any

Generated using TypeDoc