Constructs DOM event dispatcher for the given event target.
Event target to construct event dispatcher for.
Private
Readonly
Internal
_targetReadonly
supplyDispatches the given DOM event to event target.
Calls EventTarget.dispatchEvent()
method.
An event to dispatch.
true
if either event's cancelable
attribute value is false
or its preventDefault()
method was not
invoked, or false
otherwise. Also returns false
when supply is cut off.
Returns a sender of DOM events of the given type
.
The returned DOM event sender calls an EventTarget.addEventListener()
to register listeners.
But, in contrast, it allows to register the same listener many times.
The Supply event supply returned upon event listener registration unregisters it with
EventTarget.removeEventListener()
once Supply.off cut off.
Supported DOM event type.
DOM event type name.
OnDomEvent sender of DOM events of the given type
.
Generated using TypeDoc
DOM event dispatcher can be used to register event listeners of particular event types and dispatch events.