Resortable - v2.0.0-alpha.1
    Preparing search index...

    Interface EventSystemInterface

    Event system interface for type safety

    interface EventSystemInterface {
        on(event: string, handler: (...args: any[]) => void): void;
        off(event: string, handler?: (...args: any[]) => void): void;
        emit(event: string, ...args: any[]): void;
    }
    Index

    Methods

    Methods

    • Parameters

      • event: string
      • handler: (...args: any[]) => void

      Returns void

    • Parameters

      • event: string
      • Optionalhandler: (...args: any[]) => void

      Returns void

    • Parameters

      • event: string
      • ...args: any[]

      Returns void