EventTarget

Kind: global class Access: public See: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget

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

Kind: instance method of EventTarget

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

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

Kind: instance method of EventTarget

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

eventTarget.dispatchEvent(event)

Kind: instance method of EventTarget

Param Type
event *

results matching ""

    No results matching ""