Adds an event listener for the given event name to the given target.
Like EventTarget:addEventListener
but it handles options object in case the browser does not support those.
Does not support the signal option unless browser natively supports that.
Adds an event listener for the given event name to the given target.
Like EventTarget:addEventListener but it handles
options
object in case the browser does not support those. Does not support thesignal
option unless browser natively supports that.