EventTarget

See: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget

eventTarget.addEventListener(eventName, callback, [capture])

Param Type Default
eventName *
callback *
[capture] boolean false

eventTarget.removeEventListener(eventName, callback, [capture])

Param Type Default
eventName *
callback *
[capture] boolean false

eventTarget.dispatchEvent(event)

Param Type
event *

results matching ""

    No results matching ""