Type alias EventHandler<K>

EventHandler<K>: ((ev) => void)

Type Parameters

  • K extends keyof HTMLElementEventMap

Type declaration

    • (ev): void
    • DOM event handler callback.

      Parameters

      • ev: HTMLElementEventMap[K]

      Returns void

Generated using TypeDoc