Function callEventListener

Calls the given event listener, which could be a function that's callable directly, or an object that has a handleEvent function property.

  • Parameters

    • handler: EventListenerOrEventListenerObject
    • event: Event

    Returns void