Skip to main content

CanAdd

Index

Methods

off

  • off(eventName: add, handler?: (event: AddEvent<any>) => void): void
  • Parameters

    • eventName: add
    • optionalhandler: (event: AddEvent<any>) => void

      Returns void

    on

    • on(eventName: add, handler: (event: AddEvent<any>) => void): void
    • Parameters

      • eventName: add
      • handler: (event: AddEvent<any>) => void

        Returns void

      onAdd

      • onAdd(engine: Engine<any>): void
      • Parameters

        Returns void

      once

      • once(eventName: add, handler: (event: AddEvent<any>) => void): void
      • Parameters

        • eventName: add
        • handler: (event: AddEvent<any>) => void

          Returns void