eventTarget.dispatchEvent(event)
将 event
调度到 event.type
的句柄列表。
event
<Event>- Returns: <boolean>
true
if either event'scancelable
attribute value is false or itspreventDefault()
method was not invoked, otherwisefalse
.
Dispatches the event
to the list of handlers for event.type
.
The registered event listeners is synchronously invoked in the order they were registered.