Type alias Target<T, L, O>

Target<T, L, O>: EventTarget & {
    addEventListener(type, listener, options?) => void;
    removeEventListener(type, listener, options?) => void;
}

Type Parameters

Type declaration

  • addEventListener:function
    • Parameters

      • type: T
      • listener: L
      • Optional options: O

      Returns void

  • removeEventListener:function
    • Parameters

      • type: T
      • listener: L
      • Optional options: O

      Returns void

Generated using TypeDoc